Mojira Archive
MC-272920

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

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.

Fixed

W_Vthe2nd

2024-06-03, 06:30 PM

2024-12-14, 01:03 PM

2024-12-14, 01:03 PM

3

1

Community Consensus

Low

Platform

Commands

1.20.6, 1.21 Pre-Release 2, 1.21.1

24w34a