Pet will teleport onto lower-half-slab.
They will not teleport onto upper-half slab.
It is weird.
Blocks they will teleport onto:
Carpet
Daylight sensor
Enchantment table
End portal flame
Farm land
Grass path
Half slab
Snow layer
Normal stairs
Bottom trap door
Bed
Plants
Stairs
Rails
Pressure plates
Ice
Buttons
Redstone wire
Torch
Tripwire hooks
Doors
Banners
Flower pot
Lever
Linked issues
is duplicated by 3
relates to 4
Comments 8
This causes pet suffocation bug in shulker box, though it is really rare case.
Should I make another issue page for it?
No, I think that it's probably best to put that in this issue as well (since changing this would also fix that). I'm assuming that the suffocation is because the shulker box continues above the top of a normal block, but pets would only teleport up 1 block (or something like that)?
(Side note: if you want to set up MCP for 1.12.1, here are some instructions I wrote a bit ago)
My suggestion to fix this bug here.
I use decompiled version of minecraft by mcp940 for MC 1.12.
The cause is the mothod func_192381_a in class EntityAIFollowOwner.
I think "EnumFacing.DOWN" should be "Enum.Facing.UP" in the final line.