Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ModelLoader.setCustomStateMapper(ModBlocks.blockPaperwall, new StateMap.Builder().withName(BlockPaperwall.VARIANT).build());
- for(final BlockPaperwall.EnumType type: BlockPaperwall.EnumType.values())
- {
- ModelLoader.setCustomModelResourceLocation(new ItemBlock(ModBlocks.blockPaperwall), type.getMetadata(),
- new ModelResourceLocation(Constants.MOD_ID, BlockPaperwall.BLOCK_NAME + "_" + type.getName()));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement