use of net.minecraft.client.renderer.block.statemap.StateMap.Builder in project Totemic by TeamTotemic.
the class ModBlocks method setStateMappers.
@SubscribeEvent
@SideOnly(Side.CLIENT)
public static void setStateMappers(ModelRegistryEvent event) {
ModelLoader.setCustomStateMapper(cedar_sapling, new Builder().ignore(BlockCedarSapling.TYPE, BlockCedarSapling.STAGE).build());
ModelLoader.setCustomStateMapper(cedar_leaves, new Builder().ignore(BlockCedarLeaves.CHECK_DECAY, BlockCedarLeaves.DECAYABLE).build());
}
Aggregations