Revert terracotta offhand mode change
This commit is contained in:
1 parent
1d278003e2
commit
2813e4c92a
7 files changed
+23
-28
No files matched your search
@@ -1,10 +1,10 @@
|
|||||||
## Mode Glazed Terracotta
|
## Mode Glazed Terracotta
|
||||||
|
|
||||||
# Terracotta Mode Rotation
|
# Terracotta Mode Rotation
|
||||||
execute as @s[nbt={SelectedItem:{components:{"minecraft:custom_model_data":{"strings":["lzstools:wrench_terracotta_north"]}}}}] run tag @s add TerracottaNORTH
|
execute as @s[nbt={SelectedItem:{components:{"minecraft:lore":["North"]}}}] run tag @s add TerracottaNORTH
|
||||||
execute as @s[nbt={SelectedItem:{components:{"minecraft:custom_model_data":{"strings":["lzstools:wrench_terracotta_east"]}}}}] run tag @s add TerracottaEAST
|
execute as @s[nbt={SelectedItem:{components:{"minecraft:lore":["East"]}}}] run tag @s add TerracottaEAST
|
||||||
execute as @s[nbt={SelectedItem:{components:{"minecraft:custom_model_data":{"strings":["lzstools:wrench_terracotta_south"]}}}}] run tag @s add TerracottaSOUTH
|
execute as @s[nbt={SelectedItem:{components:{"minecraft:lore":["South"]}}}] run tag @s add TerracottaSOUTH
|
||||||
execute as @s[nbt={SelectedItem:{components:{"minecraft:custom_model_data":{"strings":["lzstools:wrench_terracotta_west"]}}}}] run tag @s add TerracottaWEST
|
execute as @s[nbt={SelectedItem:{components:{"minecraft:lore":["West"]}}}] run tag @s add TerracottaWEST
|
||||||
|
|
||||||
$execute as @s[scores={lzt_wrench_success=0}, tag=TerracottaNORTH] store result score @s lzt_wrench_success run execute if block ~ ~ ~ $(block) run setblock ~ ~ ~ $(block)[facing=north] replace
|
$execute as @s[scores={lzt_wrench_success=0}, tag=TerracottaNORTH] store result score @s lzt_wrench_success run execute if block ~ ~ ~ $(block) run setblock ~ ~ ~ $(block)[facing=north] replace
|
||||||
$execute as @s[scores={lzt_wrench_success=0}, tag=TerracottaEAST] store result score @s lzt_wrench_success run execute if block ~ ~ ~ $(block) run setblock ~ ~ ~ $(block)[facing=east] replace
|
$execute as @s[scores={lzt_wrench_success=0}, tag=TerracottaEAST] store result score @s lzt_wrench_success run execute if block ~ ~ ~ $(block) run setblock ~ ~ ~ $(block)[facing=east] replace
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
## Glazed Terracotta
|
## Glazed Terracotta
|
||||||
|
|
||||||
execute as @s[nbt={SelectedItem:{components:{"minecraft:custom_model_data":{"strings":["lzstools:wrench_terracotta_north"]}}}}] run function lzstools_wrench:rotate/glazed_terracotta/mode with storage lzstools:wrench
|
execute as @s[nbt={SelectedItem:{components:{"minecraft:lore":["Terracotta"]}}}]
|
||||||
execute as @s[nbt={SelectedItem:{components:{"minecraft:custom_model_data":{"strings":["lzstools:wrench_terracotta_east"]}}}}] run function lzstools_wrench:rotate/glazed_terracotta/mode with storage lzstools:wrench
|
run function lzstools_wrench:rotate/glazed_terracotta/mode with storage lzstools:wrench
|
||||||
execute as @s[nbt={SelectedItem:{components:{"minecraft:custom_model_data":{"strings":["lzstools:wrench_terracotta_south"]}}}}] run function lzstools_wrench:rotate/glazed_terracotta/mode with storage lzstools:wrench
|
execute as @s[scores={lzt_wrench_success=0}] run function lzstools_wrench:rotate/glazed_terracotta/cycle with storage lzstools:wrench
|
||||||
execute as @s[nbt={SelectedItem:{components:{"minecraft:custom_model_data":{"strings":["lzstools:wrench_terracotta_west"]}}}}] run function lzstools_wrench:rotate/glazed_terracotta/mode with storage lzstools:wrench
|
|
||||||
execute as @s[scores={lzt_wrench_success=0}] run function lzstools_wrench:rotate/glazed_terracotta/cycle with storage lzstools:wrench
|
execute as @s[scores={lzt_wrench_success=0}] run function lzstools_wrench:rotate/glazed_terracotta/cycle with storage lzstools:wrench
|
||||||
@@ -2,22 +2,18 @@
|
|||||||
scoreboard players set @s lzt_wrench_success 0
|
scoreboard players set @s lzt_wrench_success 0
|
||||||
|
|
||||||
# Change wrench mode
|
# Change wrench mode
|
||||||
execute as @s[scores={lzt_wrench_success=0},nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:custom_model_data":{"strings":["lzstools:wrench_default"]}}}}}] store result score @s lzt_wrench_success run item modify entity @s weapon.offhand lzstools_wrench:flip
|
execute as @s[scores={lzt_wrench_success=0},nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:lore":["Default"]}}}}] store result score @s lzt_wrench_success run item modify entity @s weapon.offhand lzstools_wrench:flip
|
||||||
execute as @s[scores={lzt_wrench_success=0},nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:custom_model_data":{"strings":["lzstools:wrench_flip"]}}}}}] store result score @s lzt_wrench_success run item modify entity @s weapon.offhand lzstools_wrench:face_player
|
execute as @s[scores={lzt_wrench_success=0},nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:lore":["Flip"]}}}}] store result score @s lzt_wrench_success run item modify entity @s weapon.offhand lzstools_wrench:face_player
|
||||||
execute as @s[scores={lzt_wrench_success=0},nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:custom_model_data":{"strings":["lzstools:wrench_face_player"]}}}}}] store result score @s lzt_wrench_success run item modify entity @s weapon.offhand lzstools_wrench:face_click
|
execute as @s[scores={lzt_wrench_success=0},nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:lore":["Face Player"]}}}}] store result score @s lzt_wrench_success run item modify entity @s weapon.offhand lzstools_wrench:face_click
|
||||||
execute as @s[scores={lzt_wrench_success=0},nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:custom_model_data":{"strings":["lzstools:wrench_face_click"]}}}}}] store result score @s lzt_wrench_success run item modify entity @s weapon.offhand lzstools_wrench:terracotta_north
|
execute as @s[scores={lzt_wrench_success=0},nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:lore":["Face Click"]}}}}] store result score @s lzt_wrench_success run item modify entity @s weapon.offhand lzstools_wrench:terracotta_north
|
||||||
execute as @s[scores={lzt_wrench_success=0},nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:custom_model_data":{"strings":["lzstools:wrench_terracotta_north"]}}}}}] store result score @s lzt_wrench_success run item modify entity @s weapon.offhand lzstools_wrench:terracotta_east
|
|
||||||
execute as @s[scores={lzt_wrench_success=0},nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:custom_model_data":{"strings":["lzstools:wrench_terracotta_east"]}}}}}] store result score @s lzt_wrench_success run item modify entity @s weapon.offhand lzstools_wrench:terracotta_south
|
# Return to Default
|
||||||
execute as @s[scores={lzt_wrench_success=0},nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:custom_model_data":{"strings":["lzstools:wrench_terracotta_south"]}}}}}] store result score @s lzt_wrench_success run item modify entity @s weapon.offhand lzstools_wrench:terracotta_west
|
execute as @s[scores={lzt_wrench_success=0},nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:lore":["Terracotta"]}}}}] store result score @s lzt_wrench_success run item modify entity @s weapon.offhand lzstools_wrench:default
|
||||||
execute as @s[scores={lzt_wrench_success=0},nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:custom_model_data":{"strings":["lzstools:wrench_terracotta_west"]}}}}}] store result score @s lzt_wrench_success run item modify entity @s weapon.offhand lzstools_wrench:default
|
|
||||||
|
|
||||||
|
|
||||||
# Confirm with action bar
|
# Confirm with action bar
|
||||||
title @s[nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:custom_model_data":{"strings":["lzstools:wrench_default"]}}}}}] actionbar [{"text":"Mode: ","color":"red"},{"text":"Default","color":"white"}]
|
title @s[nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:lore":["Default"]}}}}] actionbar [{"text":"Mode: ","color":"red"},{"text":"Default","color":"white"}]
|
||||||
title @s[nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:custom_model_data":{"strings":["lzstools:wrench_flip"]}}}}}] actionbar [{"text":"Mode: ","color":"red"},{"text":"Flip","color":"white"}]
|
title @s[nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:lore":["Flip"]}}}}] actionbar [{"text":"Mode: ","color":"red"},{"text":"Flip","color":"white"}]
|
||||||
title @s[nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:custom_model_data":{"strings":["lzstools:wrench_face_player"]}}}}}] actionbar [{"text":"Mode: ","color":"red"},{"text":"Face Player","color":"white"}]
|
title @s[nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:lore":["Face Player"]}}}}] actionbar [{"text":"Mode: ","color":"red"},{"text":"Face Player","color":"white"}]
|
||||||
title @s[nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:custom_model_data":{"strings":["lzstools:wrench_face_click"]}}}}}] actionbar [{"text":"Mode: ","color":"red"},{"text":"Face Click","color":"white"}]
|
title @s[nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:lore":["Face Click"]}}}}] actionbar [{"text":"Mode: ","color":"red"},{"text":"Face Click","color":"white"}]
|
||||||
title @s[nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:custom_model_data":{"strings":["lzstools:wrench_terracotta_north"]}}}}}] actionbar [{"text":"Mode: ","color":"red"},{"text":"Terracotta","color":"white"}]
|
title @s[nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:lore":["Terracotta"]}}}}] actionbar [{"text":"Mode: ","color":"red"},{"text":"Terracotta","color":"white"}]
|
||||||
title @s[nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:custom_model_data":{"strings":["lzstools:wrench_terracotta_east"]}}}}}] actionbar [{"text":"Mode: ","color":"red"},{"text":"Terracotta","color":"white"}]
|
|
||||||
title @s[nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:custom_model_data":{"strings":["lzstools:wrench_terracotta_south"]}}}}}] actionbar [{"text":"Mode: ","color":"red"},{"text":"Terracotta","color":"white"}]
|
|
||||||
title @s[nbt={equipment:{offhand:{components:{"minecraft:custom_data":{"lzstools":["wrench"]},"minecraft:custom_model_data":{"strings":["lzstools:wrench_terracotta_west"]}}}}}] actionbar [{"text":"Mode: ","color":"red"},{"text":"Terracotta","color":"white"}]
|
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
"function": "minecraft:set_custom_model_data",
|
"function": "minecraft:set_custom_model_data",
|
||||||
"strings": {
|
"strings": {
|
||||||
"values": [
|
"values": [
|
||||||
"lzstools:wrench_terracotta_east"
|
"lzstools:wrench_terracotta"
|
||||||
],
|
],
|
||||||
"mode": "replace_all"
|
"mode": "replace_all"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
"function": "minecraft:set_custom_model_data",
|
"function": "minecraft:set_custom_model_data",
|
||||||
"strings": {
|
"strings": {
|
||||||
"values": [
|
"values": [
|
||||||
"lzstools:wrench_terracotta_north"
|
"lzstools:wrench_terracotta"
|
||||||
],
|
],
|
||||||
"mode": "replace_all"
|
"mode": "replace_all"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
"function": "minecraft:set_custom_model_data",
|
"function": "minecraft:set_custom_model_data",
|
||||||
"strings": {
|
"strings": {
|
||||||
"values": [
|
"values": [
|
||||||
"lzstools:wrench_terracotta_south"
|
"lzstools:wrench_terracotta"
|
||||||
],
|
],
|
||||||
"mode": "replace_all"
|
"mode": "replace_all"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
"function": "minecraft:set_custom_model_data",
|
"function": "minecraft:set_custom_model_data",
|
||||||
"strings": {
|
"strings": {
|
||||||
"values": [
|
"values": [
|
||||||
"lzstools:wrench_terracotta_west"
|
"lzstools:wrench_terracotta"
|
||||||
],
|
],
|
||||||
"mode": "replace_all"
|
"mode": "replace_all"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user