mojira.dev
MC-114218

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

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.

Linked issues

Attachments

Comments 4

Affects 17w14a & 17w15a

Include the also affected dropper in this report so more search results lead to this.

Can confirm for MC 1.12.1.

Can confirm for 18w21b

marcono1234

Erik Broes

Confirmed

dispenser, dropper, horizontal, offset, particle, smoke, vertical

Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w14a, Minecraft 17w15a, Minecraft 1.12.1, ..., Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w47b, Minecraft 17w48a, Minecraft 18w21b

Minecraft 18w30b

Retrieved