Skip to content

Commit 64f2599

Browse files
committed
Added a mapping & an armor sample for bedrock
1 parent 8c47a07 commit 64f2599

File tree

8 files changed

+57
-75
lines changed

8 files changed

+57
-75
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"format_version": "1.10.0",
3+
"minecraft:attachable": {
4+
"description": {
5+
"identifier": "geyser_custom:magic_helmet.player",
6+
"item": { "geyser_custom:magic_helmet": "query.owner_identifier == 'minecraft:player'" },
7+
"materials": {
8+
"default": "armor_leather",
9+
"enchanted": "armor_leather_enchanted"
10+
},
11+
"textures": {
12+
"default": "textures/models/armor/magic_1",
13+
"enchanted": "textures/misc/enchanted_item_glint"
14+
},
15+
"geometry": {
16+
"default": "geometry.player.armor.helmet"
17+
},
18+
"scripts": {
19+
"parent_setup": "variable.helmet_layer_visible = 0.0;"
20+
},
21+
"render_controllers": [ "controller.render.armor" ]
22+
}
23+
}
24+
}

Bedrock-TexturePack/textures/item_texture.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
"textures": [
77
"textures/items/magic_stick"
88
]
9+
},
10+
"magic_helmet": {
11+
"textures": [
12+
"textures/items/magic_helmet"
13+
]
914
}
1015
}
1116
}
1.04 KB
Binary file not shown.
8.04 KB
Binary file not shown.
8.04 KB
Binary file not shown.

Java-TexturePack/assets/minecraft/models/item/clock.json

Lines changed: 0 additions & 75 deletions
This file was deleted.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"parent": "item/handheld",
3+
"textures": {
4+
"layer0": "item/stick"
5+
},
6+
"overrides": [
7+
{"predicate": {"custom_model_data": 502698}, "model": "item/magic_stick"}
8+
]
9+
}

mappings.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"format_version": 1,
3+
"items": {
4+
"minecraft:stick": [
5+
{
6+
"name": "magic_stick",
7+
"display_name": "Magic Stick",
8+
"custom_model_data": 502698
9+
}
10+
],
11+
"minecraft:leather_helmet": [
12+
{
13+
"name": "magic_helmet",
14+
"display_name": "Magic Helmet",
15+
"custom_model_data": 876513
16+
}
17+
]
18+
}
19+
}

0 commit comments

Comments
 (0)