Uses of Class
net.minecraft.scoreboard.Team
Package
Description
-
Uses of Team in net.minecraft.client.gui.hud.spectator
Modifier and TypeFieldDescriptionprivate final Team
TeamTeleportSpectatorMenu.TeleportToSpecificTeamCommand.team
Modifier and TypeMethodDescriptionstatic Optional<SpectatorMenuCommand>
TeamTeleportSpectatorMenu.TeleportToSpecificTeamCommand.create
(MinecraftClient client, Team team) ModifierConstructorDescriptionprivate
TeleportToSpecificTeamCommand
(Team team, List<PlayerListEntry> scoreboardEntries, Identifier skinId) -
Uses of Team in net.minecraft.client.network
-
Uses of Team in net.minecraft.command.argument
Modifier and TypeMethodDescriptionstatic Team
TeamArgumentType.getTeam
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) -
Uses of Team in net.minecraft.network.packet.s2c.play
Modifier and TypeMethodDescriptionstatic TeamS2CPacket
TeamS2CPacket.changePlayerTeam
(Team team, String playerName, TeamS2CPacket.Operation operation) static TeamS2CPacket
TeamS2CPacket.updateRemovedTeam
(Team team) static TeamS2CPacket
TeamS2CPacket.updateTeam
(Team team, boolean updatePlayers) -
Uses of Team in net.minecraft.scoreboard
Modifier and TypeMethodDescriptionboolean
Scoreboard.addPlayerToTeam
(String playerName, Team team) boolean
ServerScoreboard.addPlayerToTeam
(String playerName, Team team) private void
ScoreboardState.readTeamPlayersNbt
(Team team, NbtList nbt) void
Scoreboard.removePlayerFromTeam
(String playerName, Team team) void
ServerScoreboard.removePlayerFromTeam
(String playerName, Team team) void
Scoreboard.removeTeam
(Team team) void
Scoreboard.updateRemovedTeam
(Team team) void
ServerScoreboard.updateRemovedTeam
(Team team) void
Scoreboard.updateScoreboardTeam
(Team team) void
ServerScoreboard.updateScoreboardTeam
(Team team) void
Scoreboard.updateScoreboardTeamAndPlayers
(Team team) void
ServerScoreboard.updateScoreboardTeamAndPlayers
(Team team) -
Uses of Team in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static void
TeamMsgCommand.execute
(ServerCommandSource source, Entity entity, Team team, List<ServerPlayerEntity> recipients, SignedMessage message) private static int
TeamCommand.executeEmpty
(ServerCommandSource source, Team team) private static int
TeamCommand.executeJoin
(ServerCommandSource source, Team team, Collection<String> members) private static int
TeamCommand.executeListMembers
(ServerCommandSource source, Team team) private static int
TeamCommand.executeModifyCollisionRule
(ServerCommandSource source, Team team, AbstractTeam.CollisionRule collisionRule) private static int
TeamCommand.executeModifyColor
(ServerCommandSource source, Team team, Formatting color) private static int
TeamCommand.executeModifyDeathMessageVisibility
(ServerCommandSource source, Team team, AbstractTeam.VisibilityRule visibility) private static int
TeamCommand.executeModifyDisplayName
(ServerCommandSource source, Team team, Text displayName) private static int
TeamCommand.executeModifyFriendlyFire
(ServerCommandSource source, Team team, boolean allowed) private static int
TeamCommand.executeModifyNametagVisibility
(ServerCommandSource source, Team team, AbstractTeam.VisibilityRule visibility) private static int
TeamCommand.executeModifyPrefix
(ServerCommandSource source, Team team, Text prefix) private static int
TeamCommand.executeModifySeeFriendlyInvisibles
(ServerCommandSource source, Team team, boolean allowed) private static int
TeamCommand.executeModifySuffix
(ServerCommandSource source, Team team, Text suffix) private static int
TeamCommand.executeRemove
(ServerCommandSource source, Team team)