Data Packs Quality of Life

Glowier Berries

    • 3,963 views • 4 today
    • 183 downloads • 0 today
    • 20
    • 13
    • 6
    Derpbox
    Level 51 : Grandmaster Collective Cat
    108
    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.2.zip file inside your world folder's datapacks folder.

    Once installed, type /reload or restart your server for the datapack to take affect
    CompatibilityMinecraft 1.17
    toMinecraft 1.21
    Tags

    4 Update Logs

    1.2 : by Derpbox 06/18/2024 1:01:30 amJune 18, 2024 @ 5:01 am UTC

    Added 1.21 support
    LOAD MORE LOGS

      Have something to say?

    LuisKingKing
    06/12/2024 11:20 am
    He/Him • Level 1 : New Crafter
    Ooooh this is exactly what I’m looking for! For some reason I was under the impression that glowberries already did this and was disappointed when I tried it and nothing happened lol. Thanks for making this!
    1
    the der discohund
    12/07/2021 2:56 am
    Level 44 : Master Vampire Theorist
    Hello, I recently implemented this feature for my private SMP and just came by to check if something like this already existed on PMC. Anyways, I ended up comparing our solutions and now I can't help giving my share of criticism:
    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.
    1
    Derpbox
    04/25/2024 4:50 am
    She/Her • Level 51 : Grandmaster Collective Cat
    I know its been 3 years but I finally did this
    2
    the der discohund
    05/15/2024 5:03 pm
    Level 44 : Master Vampire Theorist
    Nice, I wish I had the motivation to update my packs from 3 years ago
    1
    Francielly
    02/06/2021 5:50 am
    Level 8 : Apprentice uwu
    nice, but without the fix of MC-157116, its kinda annoying to glow when planting them instead of eating
    1
    Derpbox
    06/18/2021 6:05 pm
    She/Her • Level 51 : Grandmaster Collective Cat
    Hi i actually got around to fixing this

    Thank you for telling me about this bug
    1

    Welcome