Few more ice effects
This commit is contained in:
parent
05c86e03bf
commit
bdf9760e8a
8 changed files with 292 additions and 7 deletions
|
@ -95,4 +95,14 @@ public class SpellHelper
|
|||
|
||||
return ForgeDirection.EAST;
|
||||
}
|
||||
|
||||
public static void freezeWaterBlock(World world, int posX, int posY, int posZ)
|
||||
{
|
||||
int id = world.getBlockId(posX, posY, posZ);
|
||||
|
||||
if(id == Block.waterStill.blockID || id == Block.waterMoving.blockID)
|
||||
{
|
||||
world.setBlock(posX, posY, posZ, Block.ice.blockID);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue