Reformatting with Vindex's magic
This commit is contained in:
parent
67a9d5c1e9
commit
e8d1ff4997
18 changed files with 421 additions and 414 deletions
|
@ -32,7 +32,7 @@ public class RitualWater extends Ritual
|
|||
|
||||
int maxEffects = currentEssence / getRefreshCost();
|
||||
int totalEffects = 0;
|
||||
|
||||
|
||||
AreaDescriptor waterRange = getBlockRange(WATER_RANGE);
|
||||
|
||||
for (BlockPos newPos : waterRange.getContainedPositions(masterRitualStone.getPos()))
|
||||
|
@ -42,13 +42,13 @@ public class RitualWater extends Ritual
|
|||
world.setBlockState(newPos, Blocks.water.getDefaultState());
|
||||
totalEffects++;
|
||||
}
|
||||
|
||||
|
||||
if (totalEffects >= maxEffects)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
network.syphon(getRefreshCost() * totalEffects);
|
||||
}
|
||||
|
||||
|
@ -73,7 +73,7 @@ public class RitualWater extends Ritual
|
|||
|
||||
return components;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Ritual getNewCopy()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue