Uploaded image for project: 'Minecraft API'
  1. Minecraft API
  2. MCAPI-177

Consumable Items API (Food/Potions)

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Labels:

      Description

      Proposed Addition:
      Allow all consumables to be defined trough a single API

      All existing food items and potions should be able to be defined trough this API

      Specific Features:

      • Define which effects are applied to the player when an item is consumed (including but not limited to Health, Saturation and Hunger)
      • Any Item should be able to be defined as a consumable
      • Any effect should be able to be added to any consumable.
      • Specify for how long effects last.
      • Ability to define a specific chance for effects to apply (like for Rotten Flesh)

      Note that the effects themselves and how they are shown is not part of this API, see MCAPI-188

      Justification and Use Case:
      Simpler Management of Consumables for mods and vanilla.

      Challenges Faced:
      None discovered at this time.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alexanderpas Alexander Pas
            • Votes:
              3 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: