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": {
"type": "select",
"property": "custom_model_data",
"fallback": {
"type": "minecraft:model",
"model": "minecraft:item/carrot_on_a_stick"
},
"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_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" } }
]
}
"model": {
"type": "select",
"property": "custom_model_data",
"fallback": {
"type": "minecraft:model",
"model": "minecraft:item/carrot_on_a_stick"
},
"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_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": {
"type": "select",
"property": "custom_model_data",
"fallback": {
"type": "minecraft:model",
"model": "minecraft:item/iron_pickaxe"
},
"cases": [
{ "when": "lzstools:hammer", "model": { "type": "model", "model": "lzstools:items/hammer/hammer" } }
]
}
"model": {
"type": "select",
"property": "custom_model_data",
"fallback": {
"type": "minecraft:model",
"model": "minecraft:item/iron_pickaxe"
},
"cases": [
{
"when": "lzstools:hammer",
"model": {
"type": "model",
"model": "lzstools:items/hammer/hammer"
}
}
]
}
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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