help with simple datapack!!
Hi everyone; im trying to make a datapack for my 1.21.4 smp that locks crafting diamond armour until you unlock an achievement (hot tourist destination)
its registering in game however the functions that i wrote do not show up in the /functions page so i probably did somethign wrong there; please tell me whatsup ( oh ps it also says theres no errors in the code so idk)
under data/diamond_armor_unlock/functions/check_achivement.mcfunction
Grant diamond armor crafting to players who have completed the "Hot Tourist Destination"
execute as @a[advancements={minecraft:nether/explore_nether=true}] run recipe give @s diamond_helmet
execute as @a[advancements={minecraft:nether/explore_nether=true}] run recipe give @s diamond_chestplate
execute as @a[advancements={minecraft:nether/explore_nether=true}] run recipe give @s diamond_leggings
execute as @a[advancements={minecraft:nether/explore_nether=true}] run recipe give @s diamond_boots
I have this tick thingo that should be going every tick under minecraft/tags/functions
{
"values": [
"diamond_armor_lock:check_advancement"
]
}
i also have this
under data/diamond_armor_unlock/functions/init.mcfunction
execute as @a[advancements={minecraft:nether/explore_nether=false}] run recipe take @s diamond_helmet
execute as @a[advancements={minecraft:nether/explore_nether=false}] run recipe take @s diamond_chestplate
execute as @a[advancements={minecraft:nether/explore_nether=false}] run recipe take @s diamond_leggings
execute as @a[advancements={minecraft:nether/explore_nether=false}] run recipe take @s diamond_boots
any help would be great thanks so much!
Continue to help post