So yea, I'm trying to get more into blockbench modelling, however my understanding of applying the textures and models is basically non-existent and I face the same issues over and over again.
I tried creating some sorta star, and applied the texture of a raw gold block to it. However at the moment, all I get ingame, is a big 3d missing texture cube.
Here's the code of the model:
assets/minecraft/models/item/warped_fungus_on_a_stick.json:
{
"parent": "item/warped_fungus_on_a_stick",
"overrides": [
{"predicate": {"custom_model_data":1}, "model": "item/warped_fungus_on_a_stick/goldstar"}
]
}
assets/minecraft/models/item/warped_fungus_on_a_stick/goldstar.json:
{
"credit": "Made with Blockbench",
"texture_size": [32, 32],
"textures": {
"0": "block/raw_gold_block",
},
"elements": [
{
"from": [-3, 7, 4.5],
"to": [5, 15, 12.5],
"rotation": {"angle": -45, "axis": "z", "origin": [0, 0, 0]},
"faces": {
"north": {"uv": [0, 0, 4, 4], "texture": "#0"},
"east": {"uv": [1, 6, 5, 10], "texture": "#0"},
"south": {"uv": [9, 0, 13, 4], "texture": "#0"},
"west": {"uv": [0, 0, 4, 4], "texture": "#0"},
"up": {"uv": [8, 6, 12, 10], "texture": "#0"},
"down": {"uv": [0, 0, 4, 4], "texture": "#0"}
}
},
{
"from": [4.5, 7, -3],
"to": [12.5, 15, 5],
"rotation": {"angle": 45, "axis": "x", "origin": [0, 0, 0]},
"faces": {
"north": {"uv": [3, 0, 7, 4], "texture": "#0"},
"east": {"uv": [0, 5, 4, 9], "texture": "#0"},
"south": {"uv": [5, 5, 9, 9], "texture": "#0"},
"west": {"uv": [11, 10, 15, 14], "texture": "#0"},
"up": {"uv": [9, 1, 13, 5], "texture": "#0"},
"down": {"uv": [0, 10, 4, 14], "texture": "#0"}
}
}
],
"display": {
"thirdperson_righthand": {
"translation": [-0.3, 1.25, 0.5],
"scale": [0.5, 0.5, 0.5]
},
"thirdperson_lefthand": {
"translation": [0.2, 1.25, 0.5],
"scale": [0.5, 0.5, 0.5]
},
"firstperson_righthand": {
"rotation": [23, -69, 32],
"translation": [8.25, 3.25, 0.75],
"scale": [0.66, 0.66, 0.66]
},
"ground": {
"scale": [0.6, 0.6, 0.6]
},
"gui": {
"rotation": [0, -45, 0]
}
}
}