Based on 1.11.2 decompiled using MCP 9.35 rc1
Blocks which define net.minecraft.block.Block.EnumOffsetType.XYZ as rendering offset are not offset in y direction based on their y coordinate.
Last updated for 1.11.2
- Place one of the affected blocks at 0 9 -3
- Place one of the affected blocks at 0 7 -3
→ You will see that both blocks are at the same height, while the upper one should be rendered lower
The problem is that the method net.minecraft.block.Block.func_190949_e(IBlockState, IBlockAccess, BlockPos) calls the method net.minecraft.util.math.MathHelper.getCoordinateRandom(int, int, int) always with 0 as y parameter value while it should use the block's y coordinate.