diff --git a/.gitignore b/.gitignore index 75ec3f0..26bf8c4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.vscode/* \ No newline at end of file +.vscode/* +.git/* \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..2feab27 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# No Netherite + +Disables all netherite tools and armor + +refunds the costs \ No newline at end of file diff --git a/noNetherite/data/nonetherite/functions/tick.mcfunction b/noNetherite/data/nonetherite/functions/tick.mcfunction index 9111ef9..91324a4 100644 --- a/noNetherite/data/nonetherite/functions/tick.mcfunction +++ b/noNetherite/data/nonetherite/functions/tick.mcfunction @@ -16,12 +16,12 @@ execute as @a[nbt={Inventory:[{id:"minecraft:netherite_shovel"}]}] run give @s s execute as @a[nbt={Inventory:[{id:"minecraft:netherite_hoe"}]}] run give @s stick 2 #clear everything -clear @a[nbt={Inventory:[{id:"minecraft:netherite_helmet"}]}] netherite_helmet -clear @a[nbt={Inventory:[{id:"minecraft:netherite_chestplate"}]}] netherite_chestplate -clear @a[nbt={Inventory:[{id:"minecraft:netherite_leggings"}]}] netherite_leggings -clear @a[nbt={Inventory:[{id:"minecraft:netherite_boots"}]}] netherite_boots -clear @a[nbt={Inventory:[{id:"minecraft:netherite_sword"}]}] netherite_sword -clear @a[nbt={Inventory:[{id:"minecraft:netherite_pickaxe"}]}] netherite_pickaxe -clear @a[nbt={Inventory:[{id:"minecraft:netherite_axe"}]}] netherite_axe -clear @a[nbt={Inventory:[{id:"minecraft:netherite_shovel"}]}] netherite_shovel -clear @a[nbt={Inventory:[{id:"minecraft:netherite_hoe"}]}] netherite_hoe \ No newline at end of file +clear @a[nbt={Inventory:[{id:"minecraft:netherite_helmet"}]}] netherite_helmet 1 +clear @a[nbt={Inventory:[{id:"minecraft:netherite_chestplate"}]}] netherite_chestplate 1 +clear @a[nbt={Inventory:[{id:"minecraft:netherite_leggings"}]}] netherite_leggings 1 +clear @a[nbt={Inventory:[{id:"minecraft:netherite_boots"}]}] netherite_boots 1 +clear @a[nbt={Inventory:[{id:"minecraft:netherite_sword"}]}] netherite_sword 1 +clear @a[nbt={Inventory:[{id:"minecraft:netherite_pickaxe"}]}] netherite_pickaxe 1 +clear @a[nbt={Inventory:[{id:"minecraft:netherite_axe"}]}] netherite_axe 1 +clear @a[nbt={Inventory:[{id:"minecraft:netherite_shovel"}]}] netherite_shovel 1 +clear @a[nbt={Inventory:[{id:"minecraft:netherite_hoe"}]}] netherite_hoe 1 \ No newline at end of file