Made all block fields final
This commit is contained in:
parent
f244f2c053
commit
537ccc092c
25 changed files with 242 additions and 254 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue