Short description:
When a player and a Sulfur Cube (with an item inside) are on the same Team with Collision turned off, there is still some collision.
Specifically the cube does not collide with the player (I.E. if you give it NoAI you can walk into it 100% fine), but the player will still push the cube.
Steps to reproduce
Make the team
/team add collisionBug
Set the collision rule (this can be both “Never” and “Push own team”)
/team modify collisionBug collisionRule pushOwnTeam
Join the team
/team join collisionBug @s
Summon a sulfur cube
/summon minecraft:sulfur_cube ~ ~ ~ {Tags:["bug"],equipment:{body:{id:"minecraft:grass_block"}}}
Make the sulfur cube join the team
/execute as @e[type=minecraft:sulfur_cube,tag=bug] run team join collisionBug @s
The Sulfur Cube is now not supposed to collide with the player, but the player pushes it around like they normally would, presumably because it has custom collision with the player. Other entities (I tested with a pig) will have the desired not-collision behavior.
Additionally you can run this command to see that you do in fact not get pushed by the cube when you walk into it.
/execute as @e[type=minecraft:sulfur_cube,tag=bug] run data modify entity @s NoAI set value 1b
Attachments
Comments 3
This issue has been reviewed by our team.
Please add new, relevant information if it helps us understand or reproduce the issue. To show that you’re affected, use the vote feature rather than commenting.
If a fix is implemented, it will be listed in our official changelogs.
For major outages or urgent assistance, visit the Minecraft Help Center.
Can confirm.