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, Supplier<SkinTextures> skinTexturesSupplier) -
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.entity
Modifier and TypeMethodDescriptionEntity.getScoreboardTeam()
Returns the scoreboard team the entity belongs to, ornull
if there is none. -
Uses of Team in net.minecraft.entity.conversion
Modifier and TypeFieldDescriptionEntityConversionContext.team
The field for theteam
record component.Modifier and TypeMethodDescriptionEntityConversionContext.team()
Returns the value of theteam
record component.ModifierConstructorDescriptionEntityConversionContext
(EntityConversionType entityConversionType, boolean bool, boolean bool2, @Nullable Team team) -
Uses of Team in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionTameableEntity.getScoreboardTeam()
Returns the scoreboard team the entity belongs to, ornull
if there is none. -
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 TypeFieldDescriptionprivate final Object2ObjectMap
<String, Team> Scoreboard.teams
private final Object2ObjectMap
<String, Team> Scoreboard.teamsByScoreHolder
Modifier and TypeMethodDescriptionboolean
Scoreboard.addScoreHolderToTeam
(String scoreHolderName, Team team) boolean
ServerScoreboard.addScoreHolderToTeam
(String scoreHolderName, Team team) private void
ScoreboardState.readTeamPlayersNbt
(Team team, NbtList nbt) void
Scoreboard.removeScoreHolderFromTeam
(String scoreHolderName, Team team) void
ServerScoreboard.removeScoreHolderFromTeam
(String scoreHolderName, 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<ScoreHolder> 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)