Potions with Multiple Charges / Uses (Easy?)

Discussion in 'Plugin Requests' started by krlsmnk, Jul 19, 2018.

Thread Status:
Not open for further replies.
  1. Offline


    Plugin category: Inventory / Crafting

    Minecraft version: 1.13

    Suggested name: MultiUsePotions

    What I want: A way to combine "X" potions of the same kind into a single potion with "X" durability / charges / uses. Combining the potions into a single flask with an NBT tag is something I already know how to do (1.13 datapacks for custom crafting).

    I know these charges could be stored as an NBT tag, but I'm not sure how to get the game to "check" if the potion's NBT tag > 0 before consuming the potion.

    I just need the plugin to handle the decrementing / updating of the potion NBT tags, and handle returning or consuming the potions after each use.

    Ideas for commands:
    PLEASE NO COMMANDS. I try to keep all player and /commands off my server, as it detracts from the fun and immersion for a lot of my players.

    Ideas for permissions: N/A
  2. Offline


  3. Offline


    Or you simple make them stackable. Wouldn't that be enough?
  4. Offline


    You can't make nonstackable items stack without forge mods if you expect it to work and not erase important nbt data like... oh I dinno... potion type.
  5. Offline


    Also that would use *all* potions at once if im correct kek
Thread Status:
Not open for further replies.

Share This Page