- check_circle Advancements
- check_circle Functions
- 2,764 views, 7 today
- 104 downloads, 0 today
86
Have you ever felt like Glow Berries aren't very useful?
This datapack allows players to give themselves the glowing affect by eating a Glow Berry, making it easier to find each other when lost.
Installation:
To install, please put the Glowier-Berries-V1.1.zip file inside your world folder's datapacks folder.
Once installed, type /reload or restart your server for the datapack to take affect
This datapack allows players to give themselves the glowing affect by eating a Glow Berry, making it easier to find each other when lost.
Installation:
To install, please put the Glowier-Berries-V1.1.zip file inside your world folder's datapacks folder.
Once installed, type /reload or restart your server for the datapack to take affect
Compatibility | Minecraft 1.17 |
to | Minecraft 1.20 |
Tags |
3 Update Logs
Update #3 : by Derpbox 04/25/2024 4:49:29 amApr 25th
- Added 1.20.5 support
- Moved to a better method for detecting players eating berries
- Moved to a better method for detecting players eating berries
LOAD MORE LOGS
tools/tracking
4943327
119
glowier-berries
Create an account or sign in to comment.
When hooking up events to eating items, you should not be using scoreboard triggers for this. Instead, please use the much better alternative of using the 'minecraft:consume_item' advancement trigger to grant an advancement that rewards a function that executes your event and revokes the advancement.
Here a quick list of what this improves:
- The advancement will only run any tests when the player actually consumes something, rather than once every 3 ticks per player.
- No scores will be needed. This removes the need for init and install/uninstall functions. Excluding the decorative advancement tab, this allows your entire data pack to only need two files in total, both of which are very short.
- This technique allows you to directly test for the used item alongside any of its properties, so it would be powerful enough to support adding custom effects to items depending on custom nbt or depending on which item group they are in. This is mostly relevant for potential future projects.
If you're still unsure of how exactly that would be implemented, please feel free to ask in a comment.Thank you for telling me about this bug