1
Testing out CustomModelData Visuals for CrateKeys, need help
looking for someone interested in just logging in to see if they can also see the custom model for each of these crates in game as I am seeing it or if i need to fix perms. i will obviously supply you the keys to try it out and you can let me know if you see the animations. If this is okay, please message for IP or click my profile. thanks! have a great one PMC! <3
Create an account or sign in to comment.
2
Hello
To make players see your custom CrateKey models you have to force players to download the texture pack that uses your server.
Otherwise, players might not see your custom models.
I'm going to give an example with a tripwire hook.
Here's the code so you can actually see if there's something wrong in your code:
assets=>minecraft=>models=>item=>
tripwire_hook.json \/
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "minecraft:block/tripwire_hook"
},
"overrides": [
{
"predicate": {
"custom_model_data": 123456
},
"model": "minecraft:item/crate_key"
}
]
}
assets=>minecraft=>models=>item=>
crate_key.json \/
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "minecraft:item/crate_key"
}
}
Note: Don't forget to create the crate key's texture(textures=>items=>).
Second Note: You can just change "require-resource-pack" to true, which will force the players to use the resource pack.
Here's a website that you could use to create the gui: https://stevertus.com/tools/gui
/give code of the crate key(Template): /give @s minecraft:tripwire_hook{"CustomModelData":123456, display:{"Name":'{"text": "Crate Key", "italic": false}'},CanPlaceOn:["minecraft:void_air"],HideFlags:16,tripwire_hook:1b}
To make players see your custom CrateKey models you have to force players to download the texture pack that uses your server.
Otherwise, players might not see your custom models.
I'm going to give an example with a tripwire hook.
Here's the code so you can actually see if there's something wrong in your code:
assets=>minecraft=>models=>item=>
tripwire_hook.json \/
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "minecraft:block/tripwire_hook"
},
"overrides": [
{
"predicate": {
"custom_model_data": 123456
},
"model": "minecraft:item/crate_key"
}
]
}
assets=>minecraft=>models=>item=>
crate_key.json \/
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "minecraft:item/crate_key"
}
}
Note: Don't forget to create the crate key's texture(textures=>items=>).
Second Note: You can just change "require-resource-pack" to true, which will force the players to use the resource pack.
Here's a website that you could use to create the gui: https://stevertus.com/tools/gui
/give code of the crate key(Template): /give @s minecraft:tripwire_hook{"CustomModelData":123456, display:{"Name":'{"text": "Crate Key", "italic": false}'},CanPlaceOn:["minecraft:void_air"],HideFlags:16,tripwire_hook:1b}
thanks for coming out!