#When trying to add a model to the crossbow wit CustomModelData it shows up as a missing texture cube

10 messages · Page 1 of 1 (latest)

fringe junco
#

This is my Crossbow.json: {
"parent": "minecraft:item/generated",
"textures": {
"layer0": "item/crossbow_standby"
},

"overrides": [
{ "predicate": {"pulling": 1 }, "model": "item/crossbow_pulling_0" },
{ "predicate": {"pulling": 1, "pull": 0.58 }, "model": "item/crossbow_pulling_1" },
{ "predicate": {"pulling": 1, "pull": 1.0 }, "model": "item/crossbow_pulling_2" },
{ "predicate": {"charged": 1 }, "model": "item/crossbow_arrow" },
{ "predicate": {"charged": 1, "firework": 1 }, "model": "item/crossbow_firework" },

{ "predicate": {"custom_model_data": 1}, "model": "item/custom/raiderscrossbow" },
{ "predicate": {"custom_model_data": 1, "pulling": 1 }, "model":"item/custom/raiderscrossbowcharge0" },
{ "predicate": {"custom_model_data": 1, "pulling": 1, "pull": 0.58 }, "model":item/custom/raiderscrossbowcharge1" },
{ "predicate": {"custom_model_data": 1, "pulling": 1, "pull": 1.0 }, "model":"custom/item/custom/raiderscrossbowcharge2" },
{ "predicate": {"custom_model_data": 1, "charged": 1 }, "model":"custom/item/custom/raiderscrossbowarrow" },
{ "predicate": {"custom_model_data": 1, "charged": 1, "firework": 1 }, "model":"custom/item/custom/raiderscrossbowrocket" }
]
]
}

worthy muskBOT
#
Welcome to the help forum!

Please make sure to read #1029373817119838218 as it may answer your question!

Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.

gusty shadow
#

because this is invalid json

torn sundial
#

yeah, once oyu fix that small typo (a missing ") it should work

fringe junco
#

It seems to be working now except for the regular crossbow being held like a regular item. I assume this is because of Crossbows not using Item/generated? What do I use instead

torn sundial
#

it does use item/generated, but I think there are some display_settings in the default crossbow.json

fringe junco
#

Ah ok I'll try to find that then

#

Found it!

#

Thanks for your help!