Advertisement
Guest User

Untitled

a guest
Nov 17th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. ModelLoader.setCustomStateMapper(ModBlocks.blockPaperwall, new StateMap.Builder().withName(BlockPaperwall.VARIANT).build());
  2. ModelLoader.setCustomModelResourceLocation(
  3. new ItemBlock(ModBlocks.blockPaperwall), BlockPaperwall.EnumType.OAK.getMetadata(),
  4. new ModelResourceLocation(Constants.MOD_ID,
  5. BlockPaperwall.BLOCK_NAME + "_" + BlockPaperwall.EnumType.OAK.getName()));
  6. ModelLoader.setCustomModelResourceLocation(
  7. new ItemBlock(ModBlocks.blockPaperwall), BlockPaperwall.EnumType.OAK.getMetadata(),
  8. new ModelResourceLocation(Constants.MOD_ID,
  9. BlockPaperwall.BLOCK_NAME + "_" + BlockPaperwall.EnumType.JUNGLE.getName()));
  10. ModelLoader.setCustomModelResourceLocation(
  11. new ItemBlock(ModBlocks.blockPaperwall), BlockPaperwall.EnumType.OAK.getMetadata(),
  12. new ModelResourceLocation(Constants.MOD_ID,
  13. BlockPaperwall.BLOCK_NAME + "_" + BlockPaperwall.EnumType.BIRCH.getName()));
  14. ModelLoader.setCustomModelResourceLocation(
  15. new ItemBlock(ModBlocks.blockPaperwall), BlockPaperwall.EnumType.OAK.getMetadata(),
  16. new ModelResourceLocation(Constants.MOD_ID,
  17. BlockPaperwall.BLOCK_NAME + "_" + BlockPaperwall.EnumType.SPRUCE.getName()));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement