diff options
author | Linnea Gräf <nea@nea.moe> | 2024-07-11 01:58:23 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-07-11 01:58:23 +0200 |
commit | feca9c937be40bfed255e6574dea70d640fdafea (patch) | |
tree | 5ad4975ccfdc4b232e9a7fb34df4c01be4c2d441 /docs/Texture Pack Format.md | |
parent | 67cc7c22ac5f6873eb4549bc69db9f014c09c07f (diff) | |
download | Firmament-feca9c937be40bfed255e6574dea70d640fdafea.tar.gz Firmament-feca9c937be40bfed255e6574dea70d640fdafea.tar.bz2 Firmament-feca9c937be40bfed255e6574dea70d640fdafea.zip |
Add custom head models
Diffstat (limited to 'docs/Texture Pack Format.md')
-rw-r--r-- | docs/Texture Pack Format.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/Texture Pack Format.md b/docs/Texture Pack Format.md index ea54c9d..859252f 100644 --- a/docs/Texture Pack Format.md +++ b/docs/Texture Pack Format.md @@ -24,6 +24,22 @@ replacement texture at `firmskyblock:textures/placedskulls/<thathash>.png`. Keep the texture with another skin texture, meaning that skin texture has it's own hash. Do not mix those up, you need to use the hash of the old skin. +## Armor Skull Models + +You can replace the models of skull items (or other items) by specifying the `firmament:head_model` property on your +model. Note that this is resolved *after* all [overrides](#predicates) and further predicates are not resolved on the +head model. + +```json5 +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "firmskyblock:item/regular_texture" + }, + "firmament:head_model": "minecraft:block/diamond_block" // when wearing on the head render a diamond block instead (can be any item model, including custom ones) +} +``` + ## Predicates Firmament adds the ability for more complex [item model predicates](https://minecraft.wiki/w/Tutorials/Models#Item_predicates). |