From 485367ecbffda4981ef036e8b4eba4a04c3ac9dc Mon Sep 17 00:00:00 2001 From: cootshk Date: Sun, 4 Jun 2023 11:14:10 -0500 Subject: [PATCH] Initial commit --- .gitignore | 1 + .../data/minecraft/functions/tick.json | 5 ++++ .../data/minecraft/tags/functions/tick.json | 5 ++++ .../nonetherite/functions/tick.mcfunction | 27 ++++++++++++++++++ .../data/nonetherite/tags/functions/tick.json | 5 ++++ noNetherite/pack.mcmeta | 6 ++++ noNetherite/pack.png | Bin 0 -> 146 bytes 7 files changed, 49 insertions(+) create mode 100644 .gitignore create mode 100644 noNetherite/data/minecraft/functions/tick.json create mode 100644 noNetherite/data/minecraft/tags/functions/tick.json create mode 100644 noNetherite/data/nonetherite/functions/tick.mcfunction create mode 100644 noNetherite/data/nonetherite/tags/functions/tick.json create mode 100644 noNetherite/pack.mcmeta create mode 100644 noNetherite/pack.png diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..75ec3f0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.vscode/* \ No newline at end of file diff --git a/noNetherite/data/minecraft/functions/tick.json b/noNetherite/data/minecraft/functions/tick.json new file mode 100644 index 0000000..60538d7 --- /dev/null +++ b/noNetherite/data/minecraft/functions/tick.json @@ -0,0 +1,5 @@ +{ + "values": [ + "#nonetherite:tick" + ] +} \ No newline at end of file diff --git a/noNetherite/data/minecraft/tags/functions/tick.json b/noNetherite/data/minecraft/tags/functions/tick.json new file mode 100644 index 0000000..6bd9c39 --- /dev/null +++ b/noNetherite/data/minecraft/tags/functions/tick.json @@ -0,0 +1,5 @@ +{ + "values": [ + "nonetherite:tick" + ] +} diff --git a/noNetherite/data/nonetherite/functions/tick.mcfunction b/noNetherite/data/nonetherite/functions/tick.mcfunction new file mode 100644 index 0000000..9111ef9 --- /dev/null +++ b/noNetherite/data/nonetherite/functions/tick.mcfunction @@ -0,0 +1,27 @@ +#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 +#tools +execute as @a[nbt={Inventory:[{id:"minecraft:netherite_sword"}]}] run give @s netherite_ingot 2 +execute as @a[nbt={Inventory:[{id:"minecraft:netherite_pickaxe"}]}] run give @s netherite_ingot 3 +execute as @a[nbt={Inventory:[{id:"minecraft:netherite_axe"}]}] run give @s netherite_ingot 3 +execute as @a[nbt={Inventory:[{id:"minecraft:netherite_shovel"}]}] run give @s netherite_ingot 1 +execute as @a[nbt={Inventory:[{id:"minecraft:netherite_hoe"}]}] run give @s netherite_ingot 2 +execute as @a[nbt={Inventory:[{id:"minecraft:netherite_sword"}]}] run give @s stick 1 +execute as @a[nbt={Inventory:[{id:"minecraft:netherite_pickaxe"}]}] run give @s stick 2 +execute as @a[nbt={Inventory:[{id:"minecraft:netherite_axe"}]}] run give @s stick 2 +execute as @a[nbt={Inventory:[{id:"minecraft:netherite_shovel"}]}] run give @s stick 1 +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 diff --git a/noNetherite/data/nonetherite/tags/functions/tick.json b/noNetherite/data/nonetherite/tags/functions/tick.json new file mode 100644 index 0000000..6bd9c39 --- /dev/null +++ b/noNetherite/data/nonetherite/tags/functions/tick.json @@ -0,0 +1,5 @@ +{ + "values": [ + "nonetherite:tick" + ] +} diff --git a/noNetherite/pack.mcmeta b/noNetherite/pack.mcmeta new file mode 100644 index 0000000..a641ab0 --- /dev/null +++ b/noNetherite/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack":{ + "pack_format": 12, + "description": "Disables all netherite tools, weapons, and armor." + } +} \ No newline at end of file diff --git a/noNetherite/pack.png b/noNetherite/pack.png new file mode 100644 index 0000000000000000000000000000000000000000..6e74024b09398e6435290ec5407df6b0e730fd07 GIT binary patch literal 146 zcmV;D0B!$LNk&GB00012MM6+kP&iC}0000lpTH*&h2pktBX|G3lOA?o3Lp?5{ND&r zVp?9;RH#XYP%m&g1mG9AY+Uxlxq@+i}i~Dn7R3 zoEwzKFE@CPOKy;#x4AI`cya4s8jx{UjmrG*T@k)Hw2CkH-vBK0KsiF85X;OK1)GpT ArvLx| literal 0 HcmV?d00001