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

Dispensers and droppers don't offset smoke particles when facing up or down

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 18w30b
    • Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w14a, Minecraft 17w15a, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w47b, Minecraft 17w48a, Minecraft 18w21b
    • Confirmed

      The bug

      Upwards or downwards facing dispensers or droppers do not offset the smoke particles they produce when activated.

      How to reproduce

      1. Place an upwards facing dispenser or dropper
      2. Put for example bone meal into it and activate it
        → You will either not see any smoke particles or only a few ones barely appearing above the dispenser

      Code analysis

      Based on 1.11.2 decompiled using MCP 9.35 rc1

      The method net.minecraft.dispenser.BehaviorDefaultDispenseItem.getWorldEventDataFrom(EnumFacing) only encodes the horizontal direction and the method net.minecraft.client.renderer.RenderGlobal.playEvent(EntityPlayer, int, BlockPos, int) only offsets the smoke particles in the horizontal directions. Instead the index of the EnumFacing value could be passed.

            grum [Mojang] Grum (Erik Broes)
            marcono1234 Marcono1234
            Votes:
            7 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: