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

Dragon breath cloud gets negative radius from glass bottles

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w17b, Minecraft 1.12, Minecraft 1.12.2, Minecraft 1.13-pre2, Minecraft 1.13.1, 20w08a, 1.16.1, 1.16.2 Pre-release 1, 1.16.4, 1.16.5
    • Confirmed
    • Entities

      The bug

      In ItemGlassBottle.java (MCP name) the Radius of the dragon breath cloud gets decremented by 0.5 for every right-click.
      The clouds from the purple fireballs vanish when the size is 0, but the clouds from the dragon when he is in the middle vanish after time.
      Even when the clouds radius is less than 0 the cloud stays there.
      Visually the negative sized cloud starts to grow again with every right-click.

      Video: https://youtu.be/QLzV25kjl3Y

      What I expected to happen was...

      If there is not enough cloud left, i would not be able to fill the bottle.

      What actually happened was...

      Cloud grows bigger.

      Steps to reproduce

      1. Summon an enderdragon with a custom UUID
        /summon ender_dragon ~ ~ ~ {NoAI:1b,UUIDLeast:0L,UUIDMost:0L}
        
      2. Summon an area effect cloud with the ender dragon as owner
        /summon area_effect_cloud ~ ~ ~ {Duration:2000,Radius:5f}
        
      3. Start right clicking the area effect cloud with glass bottles
        → The cloud will shrink, then grow again and vanish after some time

            Unassigned Unassigned
            jirauser71590 user-f2760 (Inactive)
            Votes:
            16 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: