Faro Posted February 23, 2022 Share Posted February 23, 2022 My Block texture/model doesent get displayed. public static final RegistryObject<MjoelnirBlock> MJOELNIR_BLOCK = registerNoItem("mjoelnir_block",()-> new MjoelnirBlock(AbstractBlock.Properties.of(Material.HEAVY_METAL).strength(50,1200).noDrops())); my path is: src\main\resources\assets\farosvikingsmod\models\block and this is my json file: { "texture_size": [32, 32], "textures": { "0": "farosvikingsmod:block/mjoelnir_block", "particle": "farosvikingsmod:block/mjoelnir_block" }, "elements": [ { "name": "Box1", "from": [5.3, 3.875, 5.55], "to": [10.3, 6.4, 9.55], "faces": { "north": {"uv": [0, 0, 3, 2.75], "rotation": 180, "texture": "#0"}, "east": {"uv": [0, 0, 1.5, 1.5], "rotation": 270, "texture": "#0"}, "south": {"uv": [0, 0, 3, 2.75], "texture": "#0"}, "west": {"uv": [0, 0, 2.75, 3], "rotation": 90, "texture": "#0"}, "up": {"uv": [0, 0, 3, 3], "rotation": 180, "texture": "#0"}, "down": {"uv": [0, 0, 3, 3], "texture": "#0"} } }, { "name": "Box1", "from": [1.175, 1.5, 4.675], "to": [14.825, 5.5, 10.325], "faces": { "north": {"uv": [0, 0.5, 16, 7.5], "texture": "#0"}, "east": {"uv": [10.5, 0.5, 16, 7.5], "rotation": 90, "texture": "#0"}, "south": {"uv": [0, 0.5, 16, 7.5], "texture": "#0"}, "west": {"uv": [10.5, 0.5, 16, 7.5], "rotation": 270, "texture": "#0"}, "up": {"uv": [0, 0, 16, 2], "texture": "#0"}, "down": {"uv": [0, 6, 16, 8], "texture": "#0"} } }, { "name": "Box1", "from": [2, 1, 3.675], "to": [14, 6, 11.325], "faces": { "north": {"uv": [0, 0, 16, 1], "texture": "#0"}, "east": {"uv": [0, 0, 16, 8], "rotation": 90, "texture": "#0"}, "south": {"uv": [0, 4, 16, 8], "texture": "#0"}, "west": {"uv": [0, 0, 16, 8], "rotation": 270, "texture": "#0"}, "up": {"uv": [0, 0, 16, 6.5], "texture": "#0"}, "down": {"uv": [0, 0, 16, 6.5], "texture": "#0"} } }, { "name": "Box1", "from": [6.25, 6, 6.05], "to": [9.25, 15, 9.05], "faces": { "north": {"uv": [0, 8, 2.5, 15], "texture": "#0"}, "east": {"uv": [10, 8, 13, 15], "rotation": 90, "texture": "#0"}, "south": {"uv": [13, 8, 16, 15], "texture": "#0"}, "west": {"uv": [5, 8, 8, 15], "rotation": 270, "texture": "#0"}, "up": {"uv": [0, 8, 3, 15], "texture": "#0"}, "down": {"uv": [0, 15, 3, 8], "texture": "#0"} } }, { "name": "Box1", "from": [6, 14.5, 5.95], "to": [9.5, 16, 9.19], "faces": { "north": {"uv": [0, 0, 8, 5], "texture": "#0"}, "east": {"uv": [0, 0, 6.5, 3.5], "rotation": 90, "texture": "#0"}, "south": {"uv": [0, 0, 5, 4.5], "texture": "#0"}, "west": {"uv": [0, 0, 7, 3.5], "rotation": 270, "texture": "#0"}, "up": {"uv": [0, 5, 7, 8], "texture": "#0"}, "down": {"uv": [0, 0, 10.5, 4.5], "texture": "#0"} } }, { "name": "Box2", "from": [6, 13, 5.775], "to": [9.5, 13.5, 9.275], "faces": { "north": {"uv": [0, 15, 16, 16], "texture": "#0"}, "east": {"uv": [0, 15, 16, 16], "rotation": 90, "texture": "#0"}, "south": {"uv": [0, 15, 16, 16], "texture": "#0"}, "west": {"uv": [0, 15, 16, 16], "rotation": 270, "texture": "#0"}, "up": {"uv": [0, 15, 7, 16], "texture": "#0"}, "down": {"uv": [0, 15, 10, 16], "texture": "#0"} } }, { "name": "Box3", "from": [6, 11.5, 5.775], "to": [9.5, 12, 9.275], "faces": { "north": {"uv": [0, 15, 16, 16], "texture": "#0"}, "east": {"uv": [0, 15, 16, 16], "rotation": 90, "texture": "#0"}, "south": {"uv": [0, 15, 16, 16], "texture": "#0"}, "west": {"uv": [0, 15, 16, 16], "rotation": 270, "texture": "#0"}, "up": {"uv": [0, 15, 7, 16], "texture": "#0"}, "down": {"uv": [0, 15, 10, 16], "texture": "#0"} } }, { "name": "Box4", "from": [6, 10, 5.775], "to": [9.5, 10.5, 9.275], "faces": { "north": {"uv": [0, 15, 16, 16], "texture": "#0"}, "east": {"uv": [0, 15, 16, 16], "rotation": 90, "texture": "#0"}, "south": {"uv": [0, 15, 16, 16], "texture": "#0"}, "west": {"uv": [0, 15, 16, 16], "rotation": 270, "texture": "#0"}, "up": {"uv": [0, 15, 7, 16], "texture": "#0"}, "down": {"uv": [0, 15, 10, 16], "texture": "#0"} } }, { "name": "Box5", "from": [6, 8.5, 5.775], "to": [9.5, 9, 9.275], "faces": { "north": {"uv": [0, 15, 16, 16], "texture": "#0"}, "east": {"uv": [0, 15, 16, 16], "rotation": 90, "texture": "#0"}, "south": {"uv": [0, 15, 16, 16], "texture": "#0"}, "west": {"uv": [0, 15, 16, 16], "rotation": 270, "texture": "#0"}, "up": {"uv": [0, 15, 7, 16], "texture": "#0"}, "down": {"uv": [0, 15, 10, 16], "texture": "#0"} } }, { "name": "Box6", "from": [6, 7, 5.775], "to": [9.5, 7.5, 9.275], "faces": { "north": {"uv": [0, 15, 16, 16], "texture": "#0"}, "east": {"uv": [0, 15, 16, 16], "rotation": 90, "texture": "#0"}, "south": {"uv": [0, 15, 16, 16], "texture": "#0"}, "west": {"uv": [0, 15, 16, 16], "rotation": 270, "texture": "#0"}, "up": {"uv": [0, 15, 7, 16], "texture": "#0"}, "down": {"uv": [0, 15, 10, 16], "texture": "#0"} } }, { "from": [0, 0, 0], "to": [16, 1, 16], "color": 7, "faces": { "north": {"uv": [0, 0, 8, 0.5], "texture": "#missing"}, "east": {"uv": [0, 0, 8, 0.5], "texture": "#missing"}, "south": {"uv": [0, 0, 8, 0.5], "texture": "#missing"}, "west": {"uv": [0, 0, 8, 0.5], "texture": "#missing"}, "up": {"uv": [0, 0, 8, 8], "texture": "#missing"}, "down": {"uv": [0, 0, 8, 8], "texture": "#missing"} } } ], "groups": [ { "name": "hammer", "origin": [8, 8, 8], "color": 0, "children": [0, 1, 2] }, { "name": "stiel", "origin": [8, 8, 8], "color": 0, "children": [3, 4, 5, 6, 7, 8, 9] }, 10 ] } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.