#A CMD not working in a block loot table
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 While you wait, take this time to provide more context and details.
🙇 After a while, hit the Summon Helpers button to ping the helper team. They'll be happy to help you
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
{
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:angler_pottery_sherd",
"functions": [
{
"function": "minecraft:set_name",
"name": "Plant fiber"
},
{
"function": "minecraft:set_nbt",
"tag": "{custom_model_data:10}"
}
],
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.15
}
]
}
]
}
]
}
btw im using a cmd tha is for another item I made (I just want to do the same item but with a different way to get it)
Paste it into misode
https://misode.github.io/loot-table/
It could be that you don’t have proper syntax
What is the version
It's {CustomModelData:10} as the nbt
custom_model_data is just in the model file and in the newest snapshots, in 1.20.4 and back, the nbt is called CustomModelData
This thread has been inactive for some time, so I'm going to archive it.
If you're still using the thread, just send a message and it'll pop back on the thread list.
This thread has been inactive for some time, so I'm going to archive it.
If you're still using the thread, just send a message and it'll pop back on the thread list.