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

Lava bucket emptied and empty bucket filled with water lose NBT data in furnace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12.1, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, 1.15.2, 20w08a, 20w20b, 20w21a, 20w51a, 1.16.5, 21w06a, 21w08b, 1.17, 1.19, 1.19.2, 22w42a, 1.20.4, 24w10a
    • Confirmed
    • (Unassigned)

      The bug

      Buckets which get modified in a furnace lose their NBT data. Lava buckets can be used as fuel and turn into empty buckets and empty buckets can be used to collect the water when drying a sponge.

      How to reproduce

      1. Place a furnace and put a smeltable item in it
      2. Put a named lava bucket as fuel in it
        /give @p minecraft:lava_bucket{display:{Name:"{\"text\":\"Named Lava Bucket\"}"}}
        
      3. Hover over the created empty bucket
        You will see that it has no name anymore

      Code analysis

      Based on 1.11.2 decompiled using MCP 9.35 rc1

      The methods net.minecraft.tileentity.TileEntityFurnace.update() (lava bucket → empty bucket) and net.minecraft.tileentity.TileEntityFurnace.smeltItem() (empty bucket → water bucket) create a new item stack.

            Unassigned Unassigned
            marcono1234 [Mod] Marcono1234
            Votes:
            9 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: