1
Load, tick and loop
Hi guys,
Still on the creation of my DP I wonder about functions that I see coming back often.
In my case I just created a custom armor with a recipe, an advancement and a give function.
so do i need to add load, tick or loop tags in the minecraft folder ?
I often see this one on a loop or tick mcfunction:
clear @a minecraft:knowledge_book
recipe take @s crafting:item01
Thanks in advance
Still on the creation of my DP I wonder about functions that I see coming back often.
In my case I just created a custom armor with a recipe, an advancement and a give function.
so do i need to add load, tick or loop tags in the minecraft folder ?
I often see this one on a loop or tick mcfunction:
clear @a minecraft:knowledge_book
recipe take @s crafting:item01
Thanks in advance
3
I don't know about other datapacks, but for mine I always put the advancement revocation, recipe clearing, and knowledge book clearing all in the give function.
OK, so only this ? :
recipe take @s crafting_item01
advancement revoke @s only crafting_item01_adv
give @p minecraft:golden_leggings
clear @s minecraft:knowledge_book
And I don't need any Minecraft folder ?
Thx
recipe take @s crafting_item01
advancement revoke @s only crafting_item01_adv
give @p minecraft:golden_leggings
clear @s minecraft:knowledge_book
And I don't need any Minecraft folder ?
Thx
yep
