aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-07-11 01:58:23 +0200
committerLinnea Gräf <nea@nea.moe>2024-07-11 01:58:23 +0200
commitfeca9c937be40bfed255e6574dea70d640fdafea (patch)
tree5ad4975ccfdc4b232e9a7fb34df4c01be4c2d441 /docs
parent67cc7c22ac5f6873eb4549bc69db9f014c09c07f (diff)
downloadfirmament-feca9c937be40bfed255e6574dea70d640fdafea.tar.gz
firmament-feca9c937be40bfed255e6574dea70d640fdafea.tar.bz2
firmament-feca9c937be40bfed255e6574dea70d640fdafea.zip
Add custom head models
Diffstat (limited to 'docs')
-rw-r--r--docs/Texture Pack Format.md16
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).