-
Bug
-
Resolution: Fixed
-
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
- Place an upwards facing dispenser or dropper
- 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.