Affects Version/s: Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, 1.15.2, 1.16 Release Candidate 1, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4 Pre-release 2, 20w46a
Fix Version/s: None
Moving minecarts or boats collide with players or mobs even if the collisionRule of the minecart's or boat's team prevents collision. It only disables pushing a stationary minecart or boat.
- Create a team.
- Set the collisionRule option to for example never.
- Place a minecart on powered rails which will later move the minecart towards you (for example as seen in the screenshot).
- Make the minecart and yourself join the team.
- Make the minecart move towards you.
→ You will see that the minecarts stops in front of you, but you cannot push it
Based on 1.11.2 decompiled using MCP 9.35 rc1
The methods of boats and minecarts overriding net.minecraft.entity.Entity.getCollisionBox(Entity) do not test if the entity they are returning a bounding box for, can be collided with.