#help
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 While you wait, take this time to provide more context and details.
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
<@&1166082198152159386> <@&1202694677766348840>
Please note that you still might not immediately get a response since all helpers are human beings and volunteers (and also might be sleeping right now)
Custom model data needs to be listed in ascending order
how do i do that?
Change the entries' order.
Have the custom model data values go from smallest to largest.
Maybe I dumb, but I'm smarter than some. U forgot the comma)))
Try this:
"parent": "item/generated",
"textures": {
"layer0": "item/written_book"
},
"overrides": [
{"predicate":{"custom_model_data":1430000},"model":"simpledrawer:item/guide" },
{ "predicate": { "custom_model_data": 480901 }, "model": "jmmf:item/cookbook" },
{ "predicate": { "custom_model_data": 480923 }, "model": "jmmf:item/nutritionbook" }
]
}```
That might be, but that doesn't make us clowns. The order of the custom model data is still a problem
Mocking other people doesn't make you less wrong. If you want to have a result you can rub into people's faces, you can try out the model you sent, but you'll notice that your model won't work.
@scarlet musk Did you fix it with this?
No 
can you send what you currently have again? :)
GM4 resources, Simple drawers and Josh more foods
do you know where is the texture for the holding item stored into??
We mean the resource pack file
do you know where this is??
I don’t know what you mean
for example, when you are making a custom item in blockbench for a resource pack you can choose how the item looks in your hand
is this stored somewhere
because the only problem is how it looks on my hand
where????
It’s difficult to create it without using Blockbench
You should open the model in Blockbench, edit the display settings, then save it
dude
now it just shows the josh more foods book
{"parent":"item/generated","textures":{"layer0":"item/written_book"},"overrides":[{"predicate":{"custom_model_data":3420001},"model":"gm4_guidebook:item/guidebook"},{"predicate":{"custom_model_data":3420002},"model":"minecraft:item/written_book"},{"predicate":{"custom_model_data":1430000},"model":"simpledrawer:item/guide"},{"predicate":{"custom_model_data":480901},"model":"jmmf:item/cookbook"},{"predicate":{"custom_model_data":480923},"model":"jmmf:item/nutritionbook"}]}
whats wrong with that??
These are still not in ascending order
You need to make sure that the list of predicates is sorted by custom model data (going from lowest to highest)
{"parent":"item/generated","textures":{"layer0":"item/written_book"},"overrides":[
{"predicate":{"custom_model_data":1430000},"model":"simpledrawer:item/guide"},{"predicate":{"custom_model_data":3420002},"model":"minecraft:item/written_book"},{"predicate":{"custom_model_data":3420001},"model":"gm4_guidebook:item/guidebook"},{"predicate":{"custom_model_data":480923},"model":"jmmf:item/nutritionbook"},{"predicate":{"custom_model_data":480901},"model":"jmmf:item/cookbook"}]}
```.
480901 is lowest
Also, please send your code in code blocks:
```
like this
```. It makes it a lot easier for us
and now??
arrange your custom model data from lowest to heighest
smth like this {"custom_model_data":1},"model":"minecraft:item/written_book"}, {"custom_model_data":2},"model":"minecraft:item/written_book"}, {"custom_model_data":3},"model":"minecraft:item/written_book"}, the model field isn't really important here (in my example)
{"parent":"item/generated","textures":{"layer0":"item/written_book"},
"overrides":[
{"predicate":{"custom_model_data":480901},"model":"jmmf:item/cookbook"},
{"predicate":{"custom_model_data":480923},"model":"jmmf:item/nutritionbook"},
{"predicate":{"custom_model_data":1430000},"model":"simpledrawer:item/guide"},
{"predicate":{"custom_model_data":3420001},"model":"gm4_guidebook:item/guidebook"},
{"predicate":{"custom_model_data":3420002},"model":"minecraft:item/written_book"}
]
}
you have to sort them from highest to lowest like this
still didnt work :(
can you run data get entity @s SelectedItem? gotta make sure the item itself has the correct data
If this is the written book model, why does your custom model data 3420002 link to itself? That will surely make it not load
The logs are where Minecraft displays errors when something goes wrong and can thus help you gain information about why something isn't working for you! To open the logs:
- Enable logs in the Minecraft Launcher
- Start your game (or restart it if you already have an open instance)
- Enjoy spotting errors getting much easier!
Also, turn on logs, they tell you somewhat what the problem is