Initial commit
This commit is contained in:
commit
485367ecbf
7 changed files with 49 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.vscode/*
|
5
noNetherite/data/minecraft/functions/tick.json
Normal file
5
noNetherite/data/minecraft/functions/tick.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"values": [
|
||||
"#nonetherite:tick"
|
||||
]
|
||||
}
|
5
noNetherite/data/minecraft/tags/functions/tick.json
Normal file
5
noNetherite/data/minecraft/tags/functions/tick.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"values": [
|
||||
"nonetherite:tick"
|
||||
]
|
||||
}
|
27
noNetherite/data/nonetherite/functions/tick.mcfunction
Normal file
27
noNetherite/data/nonetherite/functions/tick.mcfunction
Normal file
|
@ -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
noNetherite/data/nonetherite/tags/functions/tick.json
Normal file
5
noNetherite/data/nonetherite/tags/functions/tick.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"values": [
|
||||
"nonetherite:tick"
|
||||
]
|
||||
}
|
6
noNetherite/pack.mcmeta
Normal file
6
noNetherite/pack.mcmeta
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"pack":{
|
||||
"pack_format": 12,
|
||||
"description": "Disables all netherite tools, weapons, and armor."
|
||||
}
|
||||
}
|
BIN
noNetherite/pack.png
Normal file
BIN
noNetherite/pack.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 146 B |
Loading…
Reference in a new issue