Made all block fields final
This commit is contained in:
parent
f244f2c053
commit
537ccc092c
25 changed files with 242 additions and 254 deletions
|
@ -110,7 +110,7 @@ public class EntityMimic extends EntityDemonBase
|
|||
{
|
||||
if (world.isAirBlock(pos))
|
||||
{
|
||||
IBlockState mimicState = ModBlocks.mimic.getStateFromMeta(BlockMimic.sentientMimicMeta);
|
||||
IBlockState mimicState = ModBlocks.MIMIC.getStateFromMeta(BlockMimic.sentientMimicMeta);
|
||||
world.setBlockState(pos, mimicState, 3);
|
||||
TileEntity tile = world.getTileEntity(pos);
|
||||
if (tile instanceof TileMimic)
|
||||
|
|
|
@ -107,7 +107,7 @@ public class EntityBloodLight extends EntityThrowable implements IThrowableEntit
|
|||
|
||||
if (worldObj.isAirBlock(blockPos))
|
||||
{
|
||||
worldObj.setBlockState(blockPos, ModBlocks.bloodLight.getDefaultState());
|
||||
worldObj.setBlockState(blockPos, ModBlocks.BLOOD_LIGHT.getDefaultState());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue