This commit is contained in:
32
data/lzstools/advancement/visible/chisel_diamond.json
Normal file
32
data/lzstools/advancement/visible/chisel_diamond.json
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"display": {
|
||||
"icon": {
|
||||
"id": "minecraft:carrot_on_a_stick",
|
||||
"components": {
|
||||
"minecraft:custom_model_data": {
|
||||
"strings": [
|
||||
"lzstools:chisel_diamond"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"text": "As flawless as Michelangelo"
|
||||
},
|
||||
"description": {
|
||||
"text": "Craft a Diamond Chisel"
|
||||
},
|
||||
"show_toast": true,
|
||||
"announce_to_chat": false,
|
||||
"hidden": false
|
||||
},
|
||||
"parent": "lzstools:visible/chisel_iron",
|
||||
"criteria": {
|
||||
"": {
|
||||
"trigger": "minecraft:recipe_crafted",
|
||||
"conditions": {
|
||||
"recipe_id": "lzstools_chisel:diamond"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
32
data/lzstools/advancement/visible/chisel_iron.json
Normal file
32
data/lzstools/advancement/visible/chisel_iron.json
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"display": {
|
||||
"icon": {
|
||||
"id": "minecraft:carrot_on_a_stick",
|
||||
"components": {
|
||||
"minecraft:custom_model_data": {
|
||||
"strings": [
|
||||
"lzstools:chisel_iron"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"text": "Just take a stab at it"
|
||||
},
|
||||
"description": {
|
||||
"text": "Craft a Chisel"
|
||||
},
|
||||
"show_toast": true,
|
||||
"announce_to_chat": false,
|
||||
"hidden": false
|
||||
},
|
||||
"parent": "lzstools:visible/root",
|
||||
"criteria": {
|
||||
"": {
|
||||
"trigger": "minecraft:recipe_crafted",
|
||||
"conditions": {
|
||||
"recipe_id": "lzstools_chisel:iron"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -6,4 +6,7 @@ execute if predicate lzstools:wrench/offhand run function lzstools_wrench:wrench
|
||||
|
||||
# Trowel
|
||||
execute if predicate lzstools:trowel/mainhand run function lzstools_trowel:mainhand
|
||||
execute if predicate lzstools:trowel/offhand run function lzstools_trowel:offhand
|
||||
execute if predicate lzstools:trowel/offhand run function lzstools_trowel:offhand
|
||||
|
||||
# Chisel
|
||||
execute if predicate lzstools:chisel/mainhand run function lzstools_chisel:mainhand
|
1
data/lzstools/function/give/chisel_diamond.mcfunction
Normal file
1
data/lzstools/function/give/chisel_diamond.mcfunction
Normal file
@@ -0,0 +1 @@
|
||||
give @s minecraft:carrot_on_a_stick[minecraft:item_name={"text":"Diamond Chisel","color":"aqua"},minecraft:custom_model_data={strings:["lzstools:chisel_diamond"]},minecraft:custom_data={"lzstools":["chisel","chisel_diamond"]},minecraft:max_damage=2100]
|
1
data/lzstools/function/give/chisel_iron.mcfunction
Normal file
1
data/lzstools/function/give/chisel_iron.mcfunction
Normal file
@@ -0,0 +1 @@
|
||||
give @s minecraft:carrot_on_a_stick[minecraft:item_name={"text":"Iron Chisel","color":"aqua"},minecraft:custom_model_data={strings:["lzstools:chisel_iron"]},minecraft:custom_data={"lzstools":["chisel","chisel_iron"]},minecraft:max_damage=350]
|
@@ -16,6 +16,16 @@ scoreboard objectives add lzt_trowel_unbreaking_chance dummy
|
||||
scoreboard objectives add lzt_trowel_damage dummy
|
||||
scoreboard objectives add lzt_trowel_max_damage dummy
|
||||
|
||||
# Chisel
|
||||
scoreboard objectives add lzt_chisel_success dummy
|
||||
scoreboard objectives add lzt_chisel_raycast dummy
|
||||
scoreboard objectives add lzt_chisel_raycast_hit dummy
|
||||
scoreboard objectives add lzt_chisel_slot dummy
|
||||
scoreboard objectives add lzt_chisel_unbreaking_check dummy
|
||||
scoreboard objectives add lzt_chisel_unbreaking_chance dummy
|
||||
scoreboard objectives add lzt_chisel_damage dummy
|
||||
scoreboard objectives add lzt_chisel_max_damage dummy
|
||||
|
||||
# Hammer
|
||||
scoreboard objectives add lzt_hammer_check minecraft.used:minecraft.iron_pickaxe
|
||||
scoreboard objectives add lzt_hammer_success dummy
|
||||
|
@@ -1,4 +1,6 @@
|
||||
recipe give @s lzstools_wrench:wrench
|
||||
recipe give @s lzstools_trowel:iron
|
||||
recipe give @s lzstools_trowel:diamond
|
||||
recipe give @s lzstools_chisel:iron
|
||||
recipe give @s lzstools_chisel:diamond
|
||||
recipe give @s lzstools_hammer:hammer
|
@@ -18,6 +18,17 @@ scoreboard objectives remove lzt_trowel_unbreaking_chance
|
||||
scoreboard objectives remove lzt_trowel_damage
|
||||
scoreboard objectives remove lzt_trowel_max_damage
|
||||
|
||||
# Trowel
|
||||
scoreboard objectives remove lzt_trowel_success dummy
|
||||
scoreboard objectives remove lzt_trowel_raycast dummy
|
||||
scoreboard objectives remove lzt_trowel_raycast_hit dummy
|
||||
scoreboard objectives remove lzt_trowel_block_check dummy
|
||||
scoreboard objectives remove lzt_trowel_block_length dummy
|
||||
scoreboard objectives remove lzt_trowel_unbreaking_check dummy
|
||||
scoreboard objectives remove lzt_trowel_unbreaking_chance dummy
|
||||
scoreboard objectives remove lzt_trowel_damage dummy
|
||||
scoreboard objectives remove lzt_trowel_max_damage dummy
|
||||
|
||||
# Hammer
|
||||
scoreboard objectives remove lzt_hammer_check
|
||||
scoreboard objectives remove lzt_hammer_success
|
||||
|
17
data/lzstools/predicate/chisel/mainhand.json
Normal file
17
data/lzstools/predicate/chisel/mainhand.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"mainhand": {
|
||||
"predicates": {
|
||||
"minecraft:custom_data": {
|
||||
"lzstools": [
|
||||
"chisel"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user