#help

1 messages · Page 1 of 1 (latest)

hybrid epochBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 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

hybrid epochBOT
# hybrid epoch <@&1201956957406109788>

<@&1166082198152159386> <@&1202694677766348840>

🙇 Helpers Arise!

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)

sterile dew
#

Custom model data needs to be listed in ascending order

scarlet musk
#

how do i do that?

mossy pilot
#

Change the entries' order.

#

Have the custom model data values go from smallest to largest.

craggy dust
#

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" }
    ]
}```
sterile dew
#

That might be, but that doesn't make us clowns. The order of the custom model data is still a problem

hollow bloom
trail pond
scarlet musk
#

No husk

tawny spoke
#

can you send what you currently have again? :)

scarlet musk
#

GM4 resources, Simple drawers and Josh more foods

#

do you know where is the texture for the holding item stored into??

trail pond
scarlet musk
#

ok

scarlet musk
trail pond
#

I don’t know what you mean

scarlet musk
#

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

trail pond
#

Yeah, it’s stored in the model json

#

Under display

scarlet musk
#

where????

trail pond
#

It’s difficult to create it without using Blockbench

#

You should open the model in Blockbench, edit the display settings, then save it

scarlet musk
#

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??

trail pond
#

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)

scarlet musk
#
{"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"}]}
```.
trail pond
#

480901 is lowest

#

Also, please send your code in code blocks:
```
like this
```. It makes it a lot easier for us

willow summit
#

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)

tawny spoke
#
{"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

scarlet musk
#

still didnt work :(

vestal storm
#

can you run data get entity @s SelectedItem? gotta make sure the item itself has the correct data

ripe girder
kind briarBOT
#
Output Logs

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:

  1. Enable logs in the Minecraft Launcher
  2. Start your game (or restart it if you already have an open instance)
  3. Enjoy spotting errors getting much easier!
ripe girder
#

Also, turn on logs, they tell you somewhat what the problem is

scarlet musk
#

i just made it so all of the guide books have the same texture

#

thank you

hybrid epochBOT
#
Question Closed

Your question, #1291531848702230619 (help), was resolved!

Original Message

#1291531848702230619 message

Duration open

1d15h52m

#

Re-opened the channel. Make sure to close it again once you're done.