hey i want to create a custom item witch texture pack i have model file
(if damage of hoe is 0.0012545482 hoe get diamond sword look)
how i can do it in skript like nbt or set damage ?
i found plugin called NewItems on spigot premium and its work like my idea
{
"parent": "item/handheld",
"textures": {
"layer0": "items/diamond_hoe"
},
"overrides": [
{ "predicate": {"damaged": 0, "damage": 0}, "model": "item/diamond_hoe"},
{ "predicate": {"damaged": 0, "damage": 0.0012545482}, "model": "item/diamond_sword"},
{ "predicate": {"damaged": 1, "damage": 0}, "model": "item/diamond_hoe"}
]
}
"parent": "item/handheld",
"textures": {
"layer0": "items/diamond_hoe"
},
"overrides": [
{ "predicate": {"damaged": 0, "damage": 0}, "model": "item/diamond_hoe"},
{ "predicate": {"damaged": 0, "damage": 0.0012545482}, "model": "item/diamond_sword"},
{ "predicate": {"damaged": 1, "damage": 0}, "model": "item/diamond_hoe"}
]
}
how i can do it in skript like nbt or set damage ?
i found plugin called NewItems on spigot premium and its work like my idea