From 6cede96bd4bd87e9947bb1486105c36e0673e3fa Mon Sep 17 00:00:00 2001 From: cootshk Date: Sun, 4 Jun 2023 11:52:09 -0500 Subject: [PATCH] last commit but for armor also --- .../data/nonetherite/functions/tick.mcfunction | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/noNetherite/data/nonetherite/functions/tick.mcfunction b/noNetherite/data/nonetherite/functions/tick.mcfunction index 261a014..20328ae 100644 --- a/noNetherite/data/nonetherite/functions/tick.mcfunction +++ b/noNetherite/data/nonetherite/functions/tick.mcfunction @@ -1,8 +1,8 @@ #armor -execute as @a[nbt={Inventory:[{id:"minecraft:netherite_helmet"}]}] run give @s netherite_ingot 5 -execute as @a[nbt={Inventory:[{id:"minecraft:netherite_chestplate"}]}] run give @s netherite_ingot 8 -execute as @a[nbt={Inventory:[{id:"minecraft:netherite_leggings"}]}] run give @s netherite_ingot 7 -execute as @a[nbt={Inventory:[{id:"minecraft:netherite_boots"}]}] run give @s netherite_ingot 4 +execute as @a[nbt={Inventory:[{id:"minecraft:netherite_helmet"}]}] run give @s diamond_helmet 1 +execute as @a[nbt={Inventory:[{id:"minecraft:netherite_chestplate"}]}] run give @s diamond_chestplate 1 +execute as @a[nbt={Inventory:[{id:"minecraft:netherite_leggings"}]}] run give @s diamond_leggings 1 +execute as @a[nbt={Inventory:[{id:"minecraft:netherite_boots"}]}] run give @s diamond_boots 1 #tools #refund tool execute as @a[nbt={Inventory:[{id:"minecraft:netherite_sword"}]}] run give @s diamond_sword 1 @@ -11,6 +11,10 @@ execute as @a[nbt={Inventory:[{id:"minecraft:netherite_axe"}]}] run give @s diam execute as @a[nbt={Inventory:[{id:"minecraft:netherite_shovel"}]}] run give @s diamond_shovel 1 execute as @a[nbt={Inventory:[{id:"minecraft:netherite_hoe"}]}] run give @s diamond_hoe 1 #refund netherite ingot +execute as @a[nbt={Inventory:[{id:"minecraft:netherite_helmet"}]}] run give @s netherite_ingot 1 +execute as @a[nbt={Inventory:[{id:"minecraft:netherite_chestplate"}]}] run give @s netherite_ingot 1 +execute as @a[nbt={Inventory:[{id:"minecraft:netherite_leggings"}]}] run give @s netherite_ingot 1 +execute as @a[nbt={Inventory:[{id:"minecraft:netherite_boots"}]}] run give @s netherite_ingot 1 execute as @a[nbt={Inventory:[{id:"minecraft:netherite_sword"}]}] run give @s netherite_ingot 1 execute as @a[nbt={Inventory:[{id:"minecraft:netherite_pickaxe"}]}] run give @s netherite_ingot 1 execute as @a[nbt={Inventory:[{id:"minecraft:netherite_axe"}]}] run give @s netherite_ingot 1