Minecraft Data Packs / Farming and Food

Glow Berries -> Glowing Effect

  • check_circle Advancements
  • check_circle Functions
  • 2,165 views, 1 today
  • 252 downloads, 1 today
  • 20
  • 14
  • 5
CurtisDoesADig avatar CurtisDoesADig
Level 48 : Master Pixel Puncher
30
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.
CompatibilityMinecraft 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

Create an account or sign in to comment.

1
11/10/2021 10:32 pm
Level 35 : Artisan Waffle
eelel
eelel avatar
Not super usefull but cool!
3
08/02/2021 4:09 pm
Level 1 : New Miner
hf147
hf147 avatar
Hey, thank's for the datapack, but there are some issues.
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.
1
08/03/2021 3:34 am
Level 48 : Master Pixel Puncher
CurtisDoesADig
CurtisDoesADig avatar
Thank you for the feedback!

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
2
05/30/2021 10:06 pm
Level 24 : Expert Spelunker
noatryy
noatryy avatar
maybe make the glow effect a bit shorter? to me 3 or 5 seconds seems like a reasonable amount
1
05/31/2021 3:58 am
Level 48 : Master Pixel Puncher
CurtisDoesADig
CurtisDoesADig avatar
Awesome, thank you for the feedback! I'll make an update on that shortly!
Planet Minecraft

Website

© 2010 - 2022
www.planetminecraft.com

Welcome