Skip to content

Commit 86e0dad

Browse files
Add room relocator button
1 parent 7b24c88 commit 86e0dad

File tree

5 files changed

+45
-0
lines changed

5 files changed

+45
-0
lines changed

assets/minecraft/items/cobblestone.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@
1717
"model": "tardis:item/gui/bowl/standard_sonic"
1818
}
1919
},
20+
{
21+
"when": {
22+
"text": "Reset"
23+
},
24+
"model": {
25+
"type": "minecraft:model",
26+
"model": "tardis:item/gui/bowl/standard_sonic"
27+
}
28+
},
2029
{
2130
"when": {
2231
"text": "Reset selected"
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"model": {
3+
"type": "minecraft:select",
4+
"property": "component",
5+
"component": "minecraft:custom_name",
6+
"fallback": {
7+
"type": "minecraft:model",
8+
"model": "minecraft:block/purple_wool"
9+
},
10+
"cases": [
11+
{
12+
"when": {
13+
"text": "Room Relocator"
14+
},
15+
"model": {
16+
"type": "minecraft:model",
17+
"model": "tardis:item/gui/map/relocator"
18+
}
19+
}
20+
]
21+
}
22+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"model": {
3+
"type": "minecraft:model",
4+
"model": "tardis:item/gui/map/relocator"
5+
}
6+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"parent": "tardis:item/gui/gui_item",
3+
"textures": {
4+
"0": "tardis:item/block/stone",
5+
"1": "tardis:item/gui/map/relocator",
6+
"particle": "tardis:item/block/stone"
7+
}
8+
}
11.7 KB
Loading

0 commit comments

Comments
 (0)