1

Testing out CustomModelData Visuals for CrateKeys, need help

Termina's Avatar Termina6/21/23 1:04 am
1 emeralds 178 2
8/19/2023 8:11 am
Bottetoundra719's Avatar Bottetoundra719
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



Posted by Termina's Avatar
Termina
Level 17 : Journeyman Network
17

Create an account or sign in to comment.

2

Bottetoundra719
08/19/2023 8:11 am
Level 19 : Journeyman Warrior
Bottetoundra719's Avatar
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}
1
Termina
06/27/2023 9:31 pm
Level 17 : Journeyman Network
Termina's Avatar
thanks for coming out!
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome