- check_circle Advancements
- check_circle Functions
- 2,918 views, 2 today
- 302 downloads, 1 today
37
A datapack that makes it so if a player eats Glow Berries they will be given the Outline effect for 10 seconds!
If you have any thoughts on some ways to balance this better let me know. Timing specifically and if it should still show particles.
If you have any thoughts on some ways to balance this better let me know. Timing specifically and if it should still show particles.
Compatibility | Minecraft 1.17 |
Tags |
1 Update Logs
Reduced time to 10 seconds : by CurtisDoesADig 06/08/2021 5:16:36 pmJun 8th, 2021
Also added comments for easier readability and understanding of the pack
tools/tracking
5141100
119
glow-berries-gt-glowing-effect
Create an account or sign in to comment.
The advancement triggers changed in 1.17, the "item" is now an Array called "items", it should be:
"items": [ "minecraft:glow_berries" ]
And the function is already executed with the player as the sender, you don't need the "execute as" in the function, in example "effect give @s glowing 10 0 false" would be enough.
I was unaware that functions called from Advancements would be executed with the player as the sender, so this is very eye opening!
But the current advancement trigger still does work, it just doesn't use the Array version.
I'll probably update it soon when I'm back at my work computer