Made all block fields final

This commit is contained in:
Nicholas Ignoffo 2016-09-10 16:13:20 -07:00
parent f244f2c053
commit 537ccc092c
25 changed files with 242 additions and 254 deletions

View file

@ -170,7 +170,7 @@ public class BlockMimic extends BlockStringContainer implements IVariantProvider
{
if (block.getRenderType(mimicState) == EnumBlockRenderType.ENTITYBLOCK_ANIMATED)
{
return ModBlocks.bloodLight.getDefaultState(); //Small and invisible-ish, basically this is returned in order to not render over the animated block (TESR)
return ModBlocks.BLOOD_LIGHT.getDefaultState(); //Small and invisible-ish, basically this is returned in order to not render over the animated block (TESR)
}
return block.getActualState(mimicState, world, pos);

View file

@ -68,7 +68,7 @@ public class BlockRitualStone extends BlockString implements IRitualStone, IVari
public void setRuneType(World world, BlockPos pos, EnumRuneType runeType)
{
int meta = runeType.ordinal();
IBlockState newState = ModBlocks.ritualStone.getStateFromMeta(meta);
IBlockState newState = ModBlocks.RITUAL_STONE.getStateFromMeta(meta);
world.setBlockState(pos, newState);
}