mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-24 23:56:51 +00:00
Make trimmable axe models handheld
This commit is contained in:
@@ -315,7 +315,7 @@ Since we haven't added the override for all the other armor types, they will def
|
||||
## Adding a custom trimmable item
|
||||
In this example we're going to add the `iron_axe` as a trimmable item. Since this is not an armor item, we only need to worry about the item model. The trim pattern used will have no effect on the texture, only the trim material can be used in the model overrides.
|
||||
|
||||

|
||||

|
||||
|
||||
### Data pack part
|
||||
The only change in the data pack is adding the item to the `#minecraft:trimmable_armor` item tag.
|
||||
@@ -402,7 +402,7 @@ This lists all the vanilla trim materials and overrides the model with our custo
|
||||
**`assets/example/models/item/iron_axe_amethyst_trim.json`**
|
||||
```json
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"parent": "minecraft:item/handheld",
|
||||
"textures": {
|
||||
"layer0": "minecraft:item/iron_axe",
|
||||
"layer1": "example:trims/items/axe_trim_amethyst"
|
||||
|
||||
Reference in New Issue
Block a user