Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
cootshk committed Jun 4, 2023
0 parents commit 485367e
Show file tree
Hide file tree
Showing 7 changed files with 49 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.vscode/*
5 changes: 5 additions & 0 deletions noNetherite/data/minecraft/functions/tick.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"#nonetherite:tick"
]
}
5 changes: 5 additions & 0 deletions noNetherite/data/minecraft/tags/functions/tick.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"nonetherite:tick"
]
}
27 changes: 27 additions & 0 deletions noNetherite/data/nonetherite/functions/tick.mcfunction
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions noNetherite/data/nonetherite/tags/functions/tick.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"values": [
"nonetherite:tick"
]
}
6 changes: 6 additions & 0 deletions noNetherite/pack.mcmeta
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"pack":{
"pack_format": 12,
"description": "Disables all netherite tools, weapons, and armor."
}
}
Binary file added noNetherite/pack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 485367e

Please sign in to comment.