Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // RenderRegistry.java
- public class RenderRegistry
- {
- public static void registerRenders()
- {
- // Items
- register(ItemRegistry.flammableBook, "flammableBook");
- register(ItemRegistry.pyromanticTome, "pyromanticTome");
- register(ItemRegistry.blaziumDiamond, "blaziumDiamond");
- register(ItemRegistry.fireBerry, "fireBerry");
- register(ItemRegistry.blaziumPick, "blaziumPick");
- register(ItemRegistry.goldenPotato, "goldenPotato");
- register(ItemRegistry.goldenPoisonousPotato, "goldenPoisonousPotato");
- }
- public static void register(Item item, String itemName)
- {
- ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(Info.MODID + ":" + itemName, "inventory"));
- }
- }
- // block/blaziumLamp.json
- {
- "parent": "block/cube_column",
- "textures": {
- "end": "pyromancy:blocks/blaziumLampTop",
- "side": "pyromancy:blocks/blaziumLampSide"
- }
- }
- // blockstates/blaziumLamp.json
- {
- "variants": {
- "normal": {"model": "pyromancy:blaziumLamp"}
- }
- }
- // item/blaziumLamp.json
- {
- "parent": "pyromancy:block/blaziumLamp",
- "display": {
- "thirdperson": {
- "rotation": [ 10, -45, 170 ],
- "translation": [ 0, 1.5, -2.75 ],
- "scale": [ 0.375, 0.375, 0.375 ]
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement