Skip to content

Commit

Permalink
Add README.md, fix shift-clicking
Browse files Browse the repository at this point in the history
  • Loading branch information
cootshk committed Jun 4, 2023
1 parent 485367e commit 8a7a40e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.vscode/*
.vscode/*
.git/*
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# No Netherite

Disables all netherite tools and armor

refunds the costs
18 changes: 9 additions & 9 deletions noNetherite/data/nonetherite/functions/tick.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -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
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

0 comments on commit 8a7a40e

Please sign in to comment.