Add README.md, fix shift-clicking

This commit is contained in:
cootshk 2023-06-04 11:16:11 -05:00
parent 485367ecbf
commit 8a7a40eb16
3 changed files with 16 additions and 10 deletions

3
.gitignore vendored
View file

@ -1 +1,2 @@
.vscode/*
.vscode/*
.git/*

5
README.md Normal file
View file

@ -0,0 +1,5 @@
# No Netherite
Disables all netherite tools and armor
refunds the costs

View file

@ -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