Skip to content

Commit

Permalink
feat: turn off collisions
Browse files Browse the repository at this point in the history
  • Loading branch information
LooFifteen committed Mar 10, 2024
1 parent 9da7181 commit 0170d3a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,20 @@ public class ParkourTagGame extends Game {
public static final Team TAGGER_TEAM = MinecraftServer.getTeamManager().createBuilder("taggers")
.teamColor(NamedTextColor.RED)
.nameTagVisibility(TeamsPacket.NameTagVisibility.ALWAYS)
.collisionRule(TeamsPacket.CollisionRule.NEVER)
.updateTeamPacket()
.build();
public static final Team GOONS_TEAM = MinecraftServer.getTeamManager().createBuilder("goons")
.teamColor(NamedTextColor.GREEN)
.nameTagVisibility(TeamsPacket.NameTagVisibility.HIDE_FOR_OTHER_TEAMS)
.collisionRule(TeamsPacket.CollisionRule.NEVER)
.updateTeamPacket()
.build();
public static final Team DEAD_TEAM = MinecraftServer.getTeamManager().createBuilder("dead")
.teamColor(NamedTextColor.GRAY)
.prefix(Component.text("☠ ", NamedTextColor.GRAY))
.nameTagVisibility(TeamsPacket.NameTagVisibility.NEVER)
.collisionRule(TeamsPacket.CollisionRule.NEVER)
.updateTeamPacket()
.build();

Expand Down

0 comments on commit 0170d3a

Please sign in to comment.