Moving minecarts or boats collide with players / mobs even if collisionRule disables collision
The bug
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.
How to reproduce
- Create a team.
/team add testTeam
- Set the collisionRule option to for example never.
/team modify testTeam collisionRule 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.
/team join testTeam @e
- Make the minecart move towards you.
→
You will see that the minecarts stops in front of you, but you cannot push it
Code analysis
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.
- Unresolved
iliketra1ns
Thijmen Geurtsen
- 22
- 8
- Confirmed
Normal
- Platform
- Collision
- boat collision collisionRule minecart team
1.11.2 - 1.21.2-pre3
1.11.2 17w06a 1.12.2-pre2 1.13.1 1.13.2 19w05a 19w06a 19w07a 1.15.2 1.16-rc1 1.16 1.16.1 1.16.2 1.16.3 1.16.4-pre2 20w46a 21w18a 21w19a 21w20a 1.17-pre1 1.17-pre2 1.17-pre3 1.17-pre4 1.17-pre5 1.17-rc1 1.17 1.17.1-pre1 1.17.1 21w37a 21w38a 21w39a 21w40a 21w41a 21w42a 21w43a 21w44a 1.18-pre1 1.18-pre6 1.18 22w03a 22w06a 1.18.2 22w13a 22w14a 22w16b 22w17a 22w18a 22w19a 1.19-pre1 1.19-pre4 1.19 1.19.4 23w13a 1.20-pre1 23w43b 24w12a 1.20.5 1.21 1.21.2-pre3
Created Issue:
scoreboard teams disabling collisions minecart
you can create a team.
and you can disable the collisions
you can do this for players, mobs and minecarts.
but this is buggy for minecarts you can still stop them sometimes like for example by standing on the red spot on the picture.Environment
Windows 10 jre1.8.0_102
Windows 10 jre1.8.0_102
scoreboard teamsdisablingcollisions minecartMoving minecarts collide with players / mobs even if collisionRule disables collision
you can create a team.
and you can disable the collisions
you can do this for players, mobs and minecarts.
but this is buggy for minecarts you can still stop them sometimes like for example by standing on the red spot on the picture.The bug
Moving minecarts collide with players or mobs even if the collisionRule of the minecart's team prevents collision. It only disables pushing a stationary minecart.
How to reproduce
- Create a team
/scoreboard teams add testTeam- Set the collisionRule option to for example never
/scoreboard teams option testTeam collisionRule 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
/scoreboard teams join testTeam @e- Make the minecart move towards you
→ You will see that the minecarts stops in front of you, but you cannot push itCode analysis
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.
Moving minecarts or boats collide with players / mobs even if collisionRule disables collision
The bug
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.
How to reproduce
- Create a team
/scoreboard teams add testTeam- Set the collisionRule option to for example never
/scoreboard teams option testTeam collisionRule 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
/scoreboard teams join testTeam @e- Make the minecart move towards you
→ You will see that the minecarts stops in front of you, but you cannot push itCode analysis
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.
The bug
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.
How to reproduce
- Create a team
/scoreboardteamsadd testTeam- Set the collisionRule option to for example never
/scoreboard teams optiontestTeam collisionRule 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
/scoreboardteamsjoin testTeam @e- Make the minecart move towards you
→You will see that the minecarts stops in front of you, but you cannot push itCode analysis
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.
The bug
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.
How to reproduce
- Create a team.
/team add testTeam- Set the collisionRule option to for example never.
/team modify testTeam collisionRule 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.
/team join testTeam @e- Make the minecart move towards you.
→You will see that the minecarts stops in front of you, but you cannot push it
Code analysis
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.
is duplicated by
is duplicated by
Affects 1.16.2 as well
relates to
relates to
Thank you for your report!
However, we are already tracking this issue, and this report is a Duplicate of MC-114683, which is a report that has not been resolved yet.
If you want, you can upvote the parent ticket, and enable watching to receive any updates about it - if you believe you have any information that may be important for this issue, please leave a comment on the parent. Please also use the search function in the future to prevent duplicate reports.
Quick Links:
📓 Issue Guidelines – 🛠 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
💬 Mojira Subreddit – 💬 Mojira Discord
Thank you for your report!
However, we are already tracking this issue, and this report is a Duplicate of MC-114683, which is a report that has not been resolved yet.
If you want, you can upvote the parent ticket, and enable watching to receive any updates about it - if you believe you have any information that may be important for this issue, please leave a comment on the parent. Please also use the search function in the future to prevent duplicate reports.
Quick Links:
📓 Issue Guidelines – 🛠 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
💬 Mojira Subreddit – 💬 Mojira Discord
Relates to MC-114683

Changed the description and summary and added reproduction steps, I hope you are fine with that.
Confirmed for 1.13.1.
Confirmed for 1.15.2
Affects 1.16 Release Candidate 1
Might relate to
MC-153230Confirmed for 1.16.3 as well as the 1.16.4 pre-release 1 and 2.
Affects 20w46a
May I request ownership?
Affects 21w18a