Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
uncommented code in nuclear reactor for meltdowns
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Jul 31, 2024
1 parent 1a6bc8a commit 28c20d0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -394,15 +394,15 @@ public void onServerTickPost(Level level, BlockPos pos, boolean aFirst) {
}
if (isExploding && !itemHandler.get().getHandler(SlotType.STORAGE).isEmpty()){
level.playSound(null, pos, SoundEvents.GENERIC_EXPLODE, SoundSource.BLOCKS, 1.0f, 1.0f);
/*tCalc *= 2;
tCalc *= 2;
setRod(0, ItemStack.EMPTY);
setRod(1, ItemStack.EMPTY);
setRod(2, ItemStack.EMPTY);
setRod(3, ItemStack.EMPTY);
for (LivingEntity tEntity : level.getEntitiesOfClass(LivingEntity.class, new AABB(pos.offset(-500, 0, -500).atY(level.getMinBuildHeight()), pos.offset(500, 0, 500).atY(level.getMaxBuildHeight())))){
int tStrength = CodeUtils.bindInt((long)(tCalc - tEntity.distanceToSqr(pos.getX(), pos.getY(), pos.getZ())));
if (tStrength > 0) Utils.applyRadioactivity(tEntity, (int)CodeUtils.divup(tStrength, 10), tStrength);
}*/
}
}

}
Expand Down

0 comments on commit 28c20d0

Please sign in to comment.