Uses of Class
net.minecraft.world.scores.PlayerTeam
Package
Description
-
Uses of PlayerTeam in net.minecraft.client.gui.spectator.categories
Modifier and TypeFieldDescriptionprivate final PlayerTeam
TeleportToTeamMenuCategory.TeamSelectionItem.team
Modifier and TypeMethodDescriptionstatic Optional<SpectatorMenuItem>
TeleportToTeamMenuCategory.TeamSelectionItem.create
(Minecraft p_260048_, PlayerTeam p_259058_) ModifierConstructorDescriptionprivate
TeamSelectionItem
(PlayerTeam p_259176_, List<PlayerInfo> p_259231_, Supplier<PlayerSkin> p_300864_) -
Uses of PlayerTeam in net.minecraft.client.multiplayer
-
Uses of PlayerTeam in net.minecraft.commands.arguments
Modifier and TypeMethodDescriptionstatic PlayerTeam
TeamArgument.getTeam
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_112092_, String p_112093_) -
Uses of PlayerTeam in net.minecraft.network.protocol.game
Modifier and TypeMethodDescriptionClientboundSetPlayerTeamPacket.createAddOrModifyPacket
(PlayerTeam p_179333_, boolean p_179334_) ClientboundSetPlayerTeamPacket.createPlayerPacket
(PlayerTeam p_179329_, String p_179330_, ClientboundSetPlayerTeamPacket.Action p_179331_) ClientboundSetPlayerTeamPacket.createRemovePacket
(PlayerTeam p_179327_) -
Uses of PlayerTeam in net.minecraft.server
Modifier and TypeMethodDescriptionboolean
ServerScoreboard.addPlayerToTeam
(String p_136215_, PlayerTeam p_136216_) void
ServerScoreboard.onTeamAdded
(PlayerTeam p_136204_) void
ServerScoreboard.onTeamChanged
(PlayerTeam p_136221_) void
ServerScoreboard.onTeamRemoved
(PlayerTeam p_136228_) void
ServerScoreboard.removePlayerFromTeam
(String p_136223_, PlayerTeam p_136224_) -
Uses of PlayerTeam in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static int
TeamCommand.deleteTeam
(CommandSourceStack p_138927_, PlayerTeam p_138928_) private static int
TeamCommand.emptyTeam
(CommandSourceStack p_138884_, PlayerTeam p_138885_) private static int
TeamCommand.joinTeam
(CommandSourceStack p_138895_, PlayerTeam p_138896_, Collection<String> p_138897_) private static int
TeamCommand.listMembers
(CommandSourceStack p_138944_, PlayerTeam p_138945_) private static void
TeamMsgCommand.sendMessage
(CommandSourceStack p_248778_, Entity p_248891_, PlayerTeam p_250504_, List<ServerPlayer> p_249706_, PlayerChatMessage p_249707_) private static int
TeamCommand.setCollision
(CommandSourceStack p_138887_, PlayerTeam p_138888_, Team.CollisionRule p_138889_) private static int
TeamCommand.setColor
(CommandSourceStack p_138899_, PlayerTeam p_138900_, ChatFormatting p_138901_) private static int
TeamCommand.setDeathMessageVisibility
(CommandSourceStack p_138930_, PlayerTeam p_138931_, Team.Visibility p_138932_) private static int
TeamCommand.setDisplayName
(CommandSourceStack p_138903_, PlayerTeam p_138904_, Component p_138905_) private static int
TeamCommand.setFriendlyFire
(CommandSourceStack p_138938_, PlayerTeam p_138939_, boolean p_138940_) private static int
TeamCommand.setFriendlySight
(CommandSourceStack p_138907_, PlayerTeam p_138908_, boolean p_138909_) private static int
TeamCommand.setNametagVisibility
(CommandSourceStack p_138891_, PlayerTeam p_138892_, Team.Visibility p_138893_) private static int
TeamCommand.setPrefix
(CommandSourceStack p_138934_, PlayerTeam p_138935_, Component p_138936_) private static int
TeamCommand.setSuffix
(CommandSourceStack p_138947_, PlayerTeam p_138948_, Component p_138949_) -
Uses of PlayerTeam in net.minecraft.world.scores
Modifier and TypeFieldDescriptionprivate final Map<String,
PlayerTeam> Scoreboard.teamsByName
private final Map<String,
PlayerTeam> Scoreboard.teamsByPlayer
Modifier and TypeMethodDescriptionScoreboard.addPlayerTeam
(String p_83493_) Scoreboard.getPlayersTeam
(String p_83501_) Scoreboard.getPlayerTeam
(String p_83490_) Modifier and TypeMethodDescriptionboolean
Scoreboard.addPlayerToTeam
(String p_83434_, PlayerTeam p_83435_) private void
ScoreboardSaveData.loadTeamPlayers
(PlayerTeam p_83515_, ListTag p_83516_) void
Scoreboard.onTeamAdded
(PlayerTeam p_83423_) void
Scoreboard.onTeamChanged
(PlayerTeam p_83456_) void
Scoreboard.onTeamRemoved
(PlayerTeam p_83468_) void
Scoreboard.removePlayerFromTeam
(String p_83464_, PlayerTeam p_83465_) void
Scoreboard.removePlayerTeam
(PlayerTeam p_83476_)