public class BlockStateMapper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Block,IStateMapper> |
blockStateMap |
private java.util.Set<Block> |
setBuiltInBlocks |
Constructor and Description |
---|
BlockStateMapper() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<ResourceLocation> |
getBlockstateLocations(Block blockIn) |
java.util.Map<IBlockState,ModelResourceLocation> |
getVariants(Block blockIn) |
java.util.Map<IBlockState,ModelResourceLocation> |
putAllStateModelLocations() |
void |
registerBlockStateMapper(Block blockIn,
IStateMapper stateMapper) |
void |
registerBuiltInBlocks(Block... blockIn) |
private final java.util.Map<Block,IStateMapper> blockStateMap
private final java.util.Set<Block> setBuiltInBlocks
public void registerBlockStateMapper(Block blockIn, IStateMapper stateMapper)
public void registerBuiltInBlocks(Block... blockIn)
public java.util.Map<IBlockState,ModelResourceLocation> putAllStateModelLocations()
public java.util.Set<ResourceLocation> getBlockstateLocations(Block blockIn)
public java.util.Map<IBlockState,ModelResourceLocation> getVariants(Block blockIn)