Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-272920

Bottles get deleted when drinking a potion when there is more than 1 in a slot

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w34a
    • 1.20.6, 1.21 Pre-Release 2, 1.21.1
    • None
    • Community Consensus
    • Commands
    • Low
    • Platform

      Bottles get deleted when drinking a potion when there is more than 1 in a slot.

      Reproduction steps:

      1. Use this command:
        /give @a potion[potion_contents={custom_color:8439583,custom_effects:[{id:jump_boost,duration:600,amplifier:1}]},custom_name='["",{"text":"Potion","italic":false}]', minecraft:max_stack_size=5] 5

         

      2. Clutter up your inventory, there must be no empty slots
      3. Switch to Survival
      4. Drink the potion

      Notice how a potion has been used, but the glass bottle just disappears

       

      What I expected to happen was the glass bottle being dropped as an item.

            Unassigned Unassigned
            W_Vthe2nd W_Vthe2nd
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: