Quite often users are faced with the need to change the custom collision settings. In this article, we’ll look at how to disable the collision of players and entities in Minecraft.
Minecraft collision rules – /collisionrule
To set the collision rules in Minecraft you need to:
- Open the console;
- Create a team:
/scoreboard teams add TeamName
- Join a team:
/scoreboard teams join @a TeamName
- Set the collision rule in Minecraft:
- /scoreboard teams option TeamName collisionrule never – Members will never collide;
- /scoreboard teams option TeamName collisionrule pushOtherTeams – Members will only push members on opposing teams;
- /scoreboard teams option TeamName collisionrule pushOwnTeam – Members will only push other members on their team and mobs;
- /scoreboard teams option TeamName collisionrule always – Members will always collide with other entities.
Note: Starting with Minecraft Java Edition (PC/Mac) 1.13, the /scoreboard teams command has been replaced with command /team to create and manage teams.
Commands to turn off collision in Minecraft:
- /team add TeamName – create team;
- /team join TeamName NickName – join team;
- /team modify TeamName collisionRule never – change collision rules. Also can be used modifiers pushOtherTeams, pushOwnTeam and always.
Note! To activate game commands in Minecraft, you need to enable cheats on server.
To block the collision of mobs, animals and monsters, you need to open the spigot.yml file and set the settings: