diff --git a/fml/src/main/java/net/minecraftforge/fml/common/registry/GameData.java b/fml/src/main/java/net/minecraftforge/fml/common/registry/GameData.java index 9ffb22ab13..4e4fa137fc 100644 --- a/fml/src/main/java/net/minecraftforge/fml/common/registry/GameData.java +++ b/fml/src/main/java/net/minecraftforge/fml/common/registry/GameData.java @@ -490,17 +490,6 @@ public class GameData { Loader.instance().fireRemapEvent(remaps); // The id map changed, ensure we apply object holders ObjectHolderRegistry.INSTANCE.applyObjectHolders(); - - // Rebuild the state map for all blocks. TODO: Clean this up to a better system when Block.BLOCK_STATE_IDS is cleaned up. - GameData.BLOCKSTATE_TO_ID.clear(); - for (Block block : getMain().iBlockRegistry.typeSafeIterable()) - { - int id = getMain().iBlockRegistry.getId(block); - for (IBlockState state : ((List)block.getBlockState().getValidStates())) - { - GameData.BLOCKSTATE_TO_ID.put(state, id << 4 | block.getMetaFromState(state)); - } - } return ImmutableList.of(); }