Uniform Tab Size
Some checks failed
Draft Release / deploy-prod (push) Failing after 17s

This commit is contained in:
Mark Rapson 2025-05-17 01:49:32 +01:00
parent c6a7150041
commit b4b08bc662
30 changed files with 595 additions and 544 deletions

View File

@ -1,19 +1,61 @@
{ {
"model": { "model": {
"type": "select", "type": "select",
"property": "custom_model_data", "property": "custom_model_data",
"fallback": { "fallback": {
"type": "minecraft:model", "type": "minecraft:model",
"model": "minecraft:item/carrot_on_a_stick" "model": "minecraft:item/carrot_on_a_stick"
}, },
"cases": [ "cases": [
{ "when": "lzstools:wrench_default", "model": { "type": "model", "model": "lzstools:items/wrench/default" } }, {
{ "when": "lzstools:wrench_flip", "model": { "type": "model", "model": "lzstools:items/wrench/flip" } }, "when": "lzstools:wrench_default",
{ "when": "lzstools:wrench_face_player", "model": { "type": "model", "model": "lzstools:items/wrench/face_player" } }, "model": {
{ "when": "lzstools:wrench_face_click", "model": { "type": "model", "model": "lzstools:items/wrench/face_click" } }, "type": "model",
{ "when": "lzstools:wrench_terracotta", "model": { "type": "model", "model": "lzstools:items/wrench/terracotta" } }, "model": "lzstools:items/wrench/default"
{ "when": "lzstools:trowel_iron", "model": { "type": "model", "model": "lzstools:items/trowel/iron" } }, }
{ "when": "lzstools:trowel_diamond", "model": { "type": "model", "model": "lzstools:items/trowel/diamond" } } },
] {
} "when": "lzstools:wrench_flip",
"model": {
"type": "model",
"model": "lzstools:items/wrench/flip"
}
},
{
"when": "lzstools:wrench_face_player",
"model": {
"type": "model",
"model": "lzstools:items/wrench/face_player"
}
},
{
"when": "lzstools:wrench_face_click",
"model": {
"type": "model",
"model": "lzstools:items/wrench/face_click"
}
},
{
"when": "lzstools:wrench_terracotta",
"model": {
"type": "model",
"model": "lzstools:items/wrench/terracotta"
}
},
{
"when": "lzstools:trowel_iron",
"model": {
"type": "model",
"model": "lzstools:items/trowel/iron"
}
},
{
"when": "lzstools:trowel_diamond",
"model": {
"type": "model",
"model": "lzstools:items/trowel/diamond"
}
}
]
}
} }

View File

@ -1,13 +1,19 @@
{ {
"model": { "model": {
"type": "select", "type": "select",
"property": "custom_model_data", "property": "custom_model_data",
"fallback": { "fallback": {
"type": "minecraft:model", "type": "minecraft:model",
"model": "minecraft:item/iron_pickaxe" "model": "minecraft:item/iron_pickaxe"
}, },
"cases": [ "cases": [
{ "when": "lzstools:hammer", "model": { "type": "model", "model": "lzstools:items/hammer/hammer" } } {
] "when": "lzstools:hammer",
} "model": {
"type": "model",
"model": "lzstools:items/hammer/hammer"
}
}
]
}
} }

View File

@ -1,18 +1,18 @@
{ {
"condition": "minecraft:entity_properties", "condition": "minecraft:entity_properties",
"entity": "this", "entity": "this",
"predicate": { "predicate": {
"equipment": { "equipment": {
"mainhand": { "mainhand": {
"predicates": { "predicates": {
"minecraft:enchantments": [ "minecraft:enchantments": [
{ {
"enchantment": "minecraft:unbreaking", "enchantment": "minecraft:unbreaking",
"levels": 1 "levels": 1
}
]
}
} }
]
} }
}
} }
}
} }

View File

@ -1,18 +1,18 @@
{ {
"condition": "minecraft:entity_properties", "condition": "minecraft:entity_properties",
"entity": "this", "entity": "this",
"predicate": { "predicate": {
"equipment": { "equipment": {
"mainhand": { "mainhand": {
"predicates": { "predicates": {
"minecraft:enchantments": [ "minecraft:enchantments": [
{ {
"enchantment": "minecraft:unbreaking", "enchantment": "minecraft:unbreaking",
"levels": 2 "levels": 2
}
]
}
} }
]
} }
}
} }
}
} }

View File

@ -1,18 +1,18 @@
{ {
"condition": "minecraft:entity_properties", "condition": "minecraft:entity_properties",
"entity": "this", "entity": "this",
"predicate": { "predicate": {
"equipment": { "equipment": {
"mainhand": { "mainhand": {
"predicates": { "predicates": {
"minecraft:enchantments": [ "minecraft:enchantments": [
{ {
"enchantment": "minecraft:unbreaking", "enchantment": "minecraft:unbreaking",
"levels": 3 "levels": 3
}
]
}
} }
]
} }
}
} }
}
} }

View File

@ -1,21 +1,21 @@
{ {
"condition": "minecraft:entity_properties", "condition": "minecraft:entity_properties",
"entity": "this", "entity": "this",
"predicate": { "predicate": {
"equipment": { "equipment": {
"mainhand": { "mainhand": {
"predicates": { "predicates": {
"minecraft:enchantments": [ "minecraft:enchantments": [
{ {
"enchantment": "minecraft:unbreaking", "enchantment": "minecraft:unbreaking",
"levels": { "levels": {
"min": 1, "min": 1,
"max": 3 "max": 3
} }
}
]
}
} }
]
} }
}
} }
}
} }

View File

@ -1,18 +1,18 @@
{ {
"condition": "minecraft:entity_properties", "condition": "minecraft:entity_properties",
"entity": "this", "entity": "this",
"predicate": { "predicate": {
"equipment": { "equipment": {
"offhand": { "offhand": {
"predicates": { "predicates": {
"minecraft:enchantments": [ "minecraft:enchantments": [
{ {
"enchantment": "minecraft:unbreaking", "enchantment": "minecraft:unbreaking",
"levels": 1 "levels": 1
}
]
}
} }
]
} }
}
} }
}
} }

View File

@ -1,18 +1,18 @@
{ {
"condition": "minecraft:entity_properties", "condition": "minecraft:entity_properties",
"entity": "this", "entity": "this",
"predicate": { "predicate": {
"equipment": { "equipment": {
"offhand": { "offhand": {
"predicates": { "predicates": {
"minecraft:enchantments": [ "minecraft:enchantments": [
{ {
"enchantment": "minecraft:unbreaking", "enchantment": "minecraft:unbreaking",
"levels": 2 "levels": 2
}
]
}
} }
]
} }
}
} }
}
} }

View File

@ -1,18 +1,18 @@
{ {
"condition": "minecraft:entity_properties", "condition": "minecraft:entity_properties",
"entity": "this", "entity": "this",
"predicate": { "predicate": {
"equipment": { "equipment": {
"offhand": { "offhand": {
"predicates": { "predicates": {
"minecraft:enchantments": [ "minecraft:enchantments": [
{ {
"enchantment": "minecraft:unbreaking", "enchantment": "minecraft:unbreaking",
"levels": 3 "levels": 3
}
]
}
} }
]
} }
}
} }
}
} }

View File

@ -1,21 +1,21 @@
{ {
"condition": "minecraft:entity_properties", "condition": "minecraft:entity_properties",
"entity": "this", "entity": "this",
"predicate": { "predicate": {
"equipment": { "equipment": {
"offhand": { "offhand": {
"predicates": { "predicates": {
"minecraft:enchantments": [ "minecraft:enchantments": [
{ {
"enchantment": "minecraft:unbreaking", "enchantment": "minecraft:unbreaking",
"levels": { "levels": {
"min": 1, "min": 1,
"max": 3 "max": 3
} }
}
]
}
} }
]
} }
}
} }
}
} }

View File

@ -1,17 +1,17 @@
{ {
"condition": "minecraft:entity_properties", "condition": "minecraft:entity_properties",
"entity": "this", "entity": "this",
"predicate": { "predicate": {
"equipment": { "equipment": {
"mainhand": { "mainhand": {
"predicates": { "predicates": {
"minecraft:custom_data": { "minecraft:custom_data": {
"lzstools": [ "lzstools": [
"wrench" "wrench"
] ]
} }
}
}
} }
}
} }
}
} }

View File

@ -1,17 +1,17 @@
{ {
"condition": "minecraft:entity_properties", "condition": "minecraft:entity_properties",
"entity": "this", "entity": "this",
"predicate": { "predicate": {
"equipment": { "equipment": {
"offhand": { "offhand": {
"predicates": { "predicates": {
"minecraft:custom_data": { "minecraft:custom_data": {
"lzstools": [ "lzstools": [
"wrench" "wrench"
] ]
} }
}
}
} }
}
} }
}
} }

View File

@ -1,18 +1,21 @@
{"replace":false,"values":[ {
"minecraft:bedrock", "replace": false,
"minecraft:structure_block", "values": [
"minecraft:structure_void", "minecraft:bedrock",
"minecraft:jigsaw", "minecraft:structure_block",
"minecraft:command_block", "minecraft:structure_void",
"minecraft:chain_command_block", "minecraft:jigsaw",
"minecraft:repeating_command_block", "minecraft:command_block",
"minecraft:test_instance_block", "minecraft:chain_command_block",
"minecraft:test_block", "minecraft:repeating_command_block",
"minecraft:light", "minecraft:test_instance_block",
"minecraft:end_portal", "minecraft:test_block",
"minecraft:end_portal_frame", "minecraft:light",
"minecraft:nether_portal", "minecraft:end_portal",
"minecraft:reinforced_deepslate", "minecraft:end_portal_frame",
"minecraft:water", "minecraft:nether_portal",
"minecraft:lava" "minecraft:reinforced_deepslate",
]} "minecraft:water",
"minecraft:lava"
]
}

View File

@ -1,17 +1,17 @@
{ {
"condition": "minecraft:entity_properties", "condition": "minecraft:entity_properties",
"entity": "this", "entity": "this",
"predicate": { "predicate": {
"equipment": { "equipment": {
"mainhand": { "mainhand": {
"predicates": { "predicates": {
"minecraft:custom_data": { "minecraft:custom_data": {
"lzstools": [ "lzstools": [
"hammer" "hammer"
] ]
} }
}
}
} }
}
} }
}
} }

View File

@ -1,36 +1,36 @@
{ {
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"pattern": [ "pattern": [
"h ", "h ",
"s ", "s ",
"l " "l "
], ],
"key": { "key": {
"h": "minecraft:heavy_core", "h": "minecraft:heavy_core",
"s": "minecraft:stick", "s": "minecraft:stick",
"l": "minecraft:lightning_rod" "l": "minecraft:lightning_rod"
}, },
"result": { "result": {
"id": "minecraft:iron_pickaxe", "id": "minecraft:iron_pickaxe",
"count": 1, "count": 1,
"components": { "components": {
"minecraft:max_damage": 1800, "minecraft:max_damage": 1800,
"minecraft:custom_name": { "minecraft:custom_name": {
"text": "Hammer", "text": "Hammer",
"color": "aqua", "color": "aqua",
"italic": false "italic": false
}, },
"minecraft:custom_model_data": { "minecraft:custom_model_data": {
"strings": [ "strings": [
"lzstools:hammer" "lzstools:hammer"
] ]
}, },
"minecraft:custom_data": { "minecraft:custom_data": {
"lzstools": [ "lzstools": [
"hammer" "hammer"
] ]
} }
}
} }
}
} }

View File

@ -1,17 +1,17 @@
{ {
"condition": "minecraft:entity_properties", "condition": "minecraft:entity_properties",
"entity": "this", "entity": "this",
"predicate": { "predicate": {
"equipment": { "equipment": {
"mainhand": { "mainhand": {
"predicates": { "predicates": {
"minecraft:custom_data": { "minecraft:custom_data": {
"lzstools": [ "lzstools": [
"trowel_diamond" "trowel_diamond"
] ]
} }
}
}
} }
}
} }
}
} }

View File

@ -1,17 +1,17 @@
{ {
"condition": "minecraft:entity_properties", "condition": "minecraft:entity_properties",
"entity": "this", "entity": "this",
"predicate": { "predicate": {
"equipment": { "equipment": {
"mainhand": { "mainhand": {
"predicates": { "predicates": {
"minecraft:custom_data": { "minecraft:custom_data": {
"lzstools": [ "lzstools": [
"trowel_iron" "trowel_iron"
] ]
} }
}
}
} }
}
} }
}
} }

View File

@ -1,17 +1,17 @@
{ {
"condition": "minecraft:entity_properties", "condition": "minecraft:entity_properties",
"entity": "this", "entity": "this",
"predicate": { "predicate": {
"equipment": { "equipment": {
"offhand": { "offhand": {
"predicates": { "predicates": {
"minecraft:custom_data": { "minecraft:custom_data": {
"lzstools": [ "lzstools": [
"trowel_diamond" "trowel_diamond"
] ]
} }
}
}
} }
}
} }
}
} }

View File

@ -1,17 +1,17 @@
{ {
"condition": "minecraft:entity_properties", "condition": "minecraft:entity_properties",
"entity": "this", "entity": "this",
"predicate": { "predicate": {
"equipment": { "equipment": {
"offhand": { "offhand": {
"predicates": { "predicates": {
"minecraft:custom_data": { "minecraft:custom_data": {
"lzstools": [ "lzstools": [
"trowel_iron" "trowel_iron"
] ]
} }
}
}
} }
}
} }
}
} }

View File

@ -1,36 +1,36 @@
{ {
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"pattern": [ "pattern": [
" ", " ",
"s ", "s ",
" dd" " dd"
], ],
"key": { "key": {
"s": "minecraft:stick", "s": "minecraft:stick",
"d": "minecraft:diamond" "d": "minecraft:diamond"
}, },
"result": { "result": {
"id": "minecraft:carrot_on_a_stick", "id": "minecraft:carrot_on_a_stick",
"count": 1, "count": 1,
"components": { "components": {
"minecraft:max_damage": 4500, "minecraft:max_damage": 4500,
"minecraft:custom_name": { "minecraft:custom_name": {
"text": "Diamond Trowel", "text": "Diamond Trowel",
"color": "aqua", "color": "aqua",
"italic": false "italic": false
}, },
"minecraft:custom_model_data": { "minecraft:custom_model_data": {
"strings": [ "strings": [
"lzstools:trowel_diamond" "lzstools:trowel_diamond"
] ]
}, },
"minecraft:custom_data": { "minecraft:custom_data": {
"lzstools": [ "lzstools": [
"trowel", "trowel",
"trowel_diamond" "trowel_diamond"
] ]
} }
}
} }
}
} }

View File

@ -1,36 +1,36 @@
{ {
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"pattern": [ "pattern": [
" ", " ",
"s ", "s ",
" ii" " ii"
], ],
"key": { "key": {
"s": "minecraft:stick", "s": "minecraft:stick",
"i": "minecraft:iron_ingot" "i": "minecraft:iron_ingot"
}, },
"result": { "result": {
"id": "minecraft:carrot_on_a_stick", "id": "minecraft:carrot_on_a_stick",
"count": 1, "count": 1,
"components": { "components": {
"minecraft:max_damage": 750, "minecraft:max_damage": 750,
"minecraft:custom_name": { "minecraft:custom_name": {
"text": "Iron Trowel", "text": "Iron Trowel",
"color": "aqua", "color": "aqua",
"italic": false "italic": false
}, },
"minecraft:custom_model_data": { "minecraft:custom_model_data": {
"strings": [ "strings": [
"lzstools:trowel_iron" "lzstools:trowel_iron"
] ]
}, },
"minecraft:custom_data": { "minecraft:custom_data": {
"lzstools": [ "lzstools": [
"trowel", "trowel",
"trowel_iron" "trowel_iron"
] ]
} }
}
} }
}
} }

View File

@ -1,21 +1,21 @@
[ [
{ {
"function": "minecraft:set_lore", "function": "minecraft:set_lore",
"entity": "this", "entity": "this",
"lore": [ "lore": [
{ {
"text": "Default" "text": "Default"
} }
], ],
"mode": "replace_all" "mode": "replace_all"
}, },
{ {
"function": "minecraft:set_custom_model_data", "function": "minecraft:set_custom_model_data",
"strings": { "strings": {
"values": [ "values": [
"lzstools:wrench_default" "lzstools:wrench_default"
], ],
"mode": "replace_all" "mode": "replace_all"
}
} }
}
] ]

View File

@ -1,21 +1,21 @@
[ [
{ {
"function": "minecraft:set_lore", "function": "minecraft:set_lore",
"entity": "this", "entity": "this",
"lore": [ "lore": [
{ {
"text": "Face Click" "text": "Face Click"
} }
], ],
"mode": "replace_all" "mode": "replace_all"
}, },
{ {
"function": "minecraft:set_custom_model_data", "function": "minecraft:set_custom_model_data",
"strings": { "strings": {
"values": [ "values": [
"lzstools:wrench_face_click" "lzstools:wrench_face_click"
], ],
"mode": "replace_all" "mode": "replace_all"
}
} }
}
] ]

View File

@ -1,21 +1,21 @@
[ [
{ {
"function": "minecraft:set_lore", "function": "minecraft:set_lore",
"entity": "this", "entity": "this",
"lore": [ "lore": [
{ {
"text": "Face Player" "text": "Face Player"
} }
], ],
"mode": "replace_all" "mode": "replace_all"
}, },
{ {
"function": "minecraft:set_custom_model_data", "function": "minecraft:set_custom_model_data",
"strings": { "strings": {
"values": [ "values": [
"lzstools:wrench_face_player" "lzstools:wrench_face_player"
], ],
"mode": "replace_all" "mode": "replace_all"
}
} }
}
] ]

View File

@ -1,21 +1,21 @@
[ [
{ {
"function": "minecraft:set_lore", "function": "minecraft:set_lore",
"entity": "this", "entity": "this",
"lore": [ "lore": [
{ {
"text": "Flip" "text": "Flip"
} }
], ],
"mode": "replace_all" "mode": "replace_all"
}, },
{ {
"function": "minecraft:set_custom_model_data", "function": "minecraft:set_custom_model_data",
"strings": { "strings": {
"values": [ "values": [
"lzstools:wrench_flip" "lzstools:wrench_flip"
], ],
"mode": "replace_all" "mode": "replace_all"
}
} }
}
] ]

View File

@ -1,24 +1,24 @@
[ [
{ {
"function": "minecraft:set_lore", "function": "minecraft:set_lore",
"entity": "this", "entity": "this",
"lore": [ "lore": [
{ {
"text": "Terracotta" "text": "Terracotta"
}, },
{ {
"text": "East" "text": "East"
} }
], ],
"mode": "replace_all" "mode": "replace_all"
}, },
{ {
"function": "minecraft:set_custom_model_data", "function": "minecraft:set_custom_model_data",
"strings": { "strings": {
"values": [ "values": [
"lzstools:wrench_terracotta" "lzstools:wrench_terracotta"
], ],
"mode": "replace_all" "mode": "replace_all"
}
} }
}
] ]

View File

@ -1,24 +1,24 @@
[ [
{ {
"function": "minecraft:set_lore", "function": "minecraft:set_lore",
"entity": "this", "entity": "this",
"lore": [ "lore": [
{ {
"text": "Terracotta" "text": "Terracotta"
}, },
{ {
"text": "North" "text": "North"
} }
], ],
"mode": "replace_all" "mode": "replace_all"
}, },
{ {
"function": "minecraft:set_custom_model_data", "function": "minecraft:set_custom_model_data",
"strings": { "strings": {
"values": [ "values": [
"lzstools:wrench_terracotta" "lzstools:wrench_terracotta"
], ],
"mode": "replace_all" "mode": "replace_all"
}
} }
}
] ]

View File

@ -1,24 +1,24 @@
[ [
{ {
"function": "minecraft:set_lore", "function": "minecraft:set_lore",
"entity": "this", "entity": "this",
"lore": [ "lore": [
{ {
"text": "Terracotta" "text": "Terracotta"
}, },
{ {
"text": "South" "text": "South"
} }
], ],
"mode": "replace_all" "mode": "replace_all"
}, },
{ {
"function": "minecraft:set_custom_model_data", "function": "minecraft:set_custom_model_data",
"strings": { "strings": {
"values": [ "values": [
"lzstools:wrench_terracotta" "lzstools:wrench_terracotta"
], ],
"mode": "replace_all" "mode": "replace_all"
}
} }
}
] ]

View File

@ -1,24 +1,24 @@
[ [
{ {
"function": "minecraft:set_lore", "function": "minecraft:set_lore",
"entity": "this", "entity": "this",
"lore": [ "lore": [
{ {
"text": "Terracotta" "text": "Terracotta"
}, },
{ {
"text": "West" "text": "West"
} }
], ],
"mode": "replace_all" "mode": "replace_all"
}, },
{ {
"function": "minecraft:set_custom_model_data", "function": "minecraft:set_custom_model_data",
"strings": { "strings": {
"values": [ "values": [
"lzstools:wrench_terracotta" "lzstools:wrench_terracotta"
], ],
"mode": "replace_all" "mode": "replace_all"
} }
} }
] ]

View File

@ -1,44 +1,44 @@
{ {
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"pattern": [ "pattern": [
" lg", " lg",
" sg", " sg",
"s " "s "
], ],
"key": { "key": {
"s": "minecraft:stick", "s": "minecraft:stick",
"g": "minecraft:gold_ingot", "g": "minecraft:gold_ingot",
"l": "#minecraft:logs" "l": "#minecraft:logs"
}, },
"result": { "result": {
"id": "minecraft:carrot_on_a_stick", "id": "minecraft:carrot_on_a_stick",
"count": 1, "count": 1,
"components": { "components": {
"minecraft:custom_name": { "minecraft:custom_name": {
"text": "Rotator Wrench", "text": "Rotator Wrench",
"color": "aqua", "color": "aqua",
"italic": false "italic": false
}, },
"minecraft:lore": [ "minecraft:lore": [
"Default" "Default"
], ],
"minecraft:custom_model_data": { "minecraft:custom_model_data": {
"strings": [ "strings": [
"lzstools:wrench_default" "lzstools:wrench_default"
] ]
}, },
"minecraft:custom_data": { "minecraft:custom_data": {
"lzstools": [ "lzstools": [
"wrench" "wrench"
] ]
}, },
"minecraft:unbreakable": {}, "minecraft:unbreakable": {},
"minecraft:tooltip_display": { "minecraft:tooltip_display": {
"hidden_components": [ "hidden_components": [
"minecraft:unbreakable" "minecraft:unbreakable"
] ]
} }
}
} }
}
} }