diff --git a/src/main/java/WayofTime/alchemicalWizardry/common/rituals/RitualEffectWellOfSuffering.java b/src/main/java/WayofTime/alchemicalWizardry/common/rituals/RitualEffectWellOfSuffering.java index faca2746c..7a359932c 100644 --- a/src/main/java/WayofTime/alchemicalWizardry/common/rituals/RitualEffectWellOfSuffering.java +++ b/src/main/java/WayofTime/alchemicalWizardry/common/rituals/RitualEffectWellOfSuffering.java @@ -21,10 +21,9 @@ public class RitualEffectWellOfSuffering extends RitualEffect { public static final int timeDelay = 25; public static final int amount = AlchemicalWizardry.lpPerSacrificeWellOfSuffering; - - private static final int tennebraeDrain = 5; - private static final int potentiaDrain = 10; - private static final int offensaDrain = 3; + public static final int tennebraeDrain = 5; + public static final int potentiaDrain = 10; + public static final int offensaDrain = 3; @Override public void performEffect(IMasterRitualStone ritualStone) { @@ -36,7 +35,7 @@ public void performEffect(IMasterRitualStone ritualStone) { int y = ritualStone.getYCoord(); int z = ritualStone.getZCoord(); - if (world.getWorldTime() % this.timeDelay != 0) { + if (world.getWorldTime() % timeDelay != 0) { return; } @@ -62,13 +61,8 @@ public void performEffect(IMasterRitualStone ritualStone) { int d0 = 10; int vertRange = hasPotentia ? 20 : 10; - AxisAlignedBB axisalignedbb = AxisAlignedBB.getBoundingBox( - (double) x, - (double) y, - (double) z, - (double) (x + 1), - (double) (y + 1), - (double) (z + 1)).expand(d0, vertRange, d0); + AxisAlignedBB axisalignedbb = AxisAlignedBB.getBoundingBox(x, y, z, (x + 1), (y + 1), (z + 1)) + .expand(d0, vertRange, d0); List list = world.getEntitiesWithinAABB(EntityLivingBase.class, axisalignedbb); int entityCount = 0; @@ -93,7 +87,7 @@ public void performEffect(IMasterRitualStone ritualStone) { && this.canDrainReagent(ritualStone, ReagentRegistry.tenebraeReagent, tennebraeDrain, true); entityCount++; - tileAltar.sacrificialDaggerCall(this.amount * (hasTennebrae ? 2 : 1) * (hasOffensa ? 2 : 1), true); + tileAltar.sacrificialDaggerCall(amount * (hasTennebrae ? 2 : 1) * (hasOffensa ? 2 : 1), true); } } @@ -112,7 +106,7 @@ public int getCostPerRefresh() { @Override public List getRitualComponentList() { - ArrayList wellOfSufferingRitual = new ArrayList(); + ArrayList wellOfSufferingRitual = new ArrayList<>(); wellOfSufferingRitual.add(new RitualComponent(1, 0, 1, RitualComponent.FIRE)); wellOfSufferingRitual.add(new RitualComponent(-1, 0, 1, RitualComponent.FIRE)); wellOfSufferingRitual.add(new RitualComponent(1, 0, -1, RitualComponent.FIRE));