Added Chisel
All checks were successful
Draft Release / deploy-prod (push) Successful in 4s

This commit is contained in:
2025-05-21 21:26:09 +01:00
parent 2b30e94381
commit 46a6e9ad65
40 changed files with 407 additions and 1 deletions

View File

@@ -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

View 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]

View 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]

View File

@@ -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

View File

@@ -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

View File

@@ -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