Uses of Class
net.minecraft.scoreboard.Team
Packages that use Team
Package
Description
-
Uses of Team in net.minecraft.client.gui.hud.spectator
Fields in net.minecraft.client.gui.hud.spectator declared as TeamModifier and TypeFieldDescriptionprivate final Team
TeamTeleportSpectatorMenu.TeleportToSpecificTeamCommand.team
Methods in net.minecraft.client.gui.hud.spectator with parameters of type TeamModifier and TypeMethodDescriptionstatic Optional
<SpectatorMenuCommand> TeamTeleportSpectatorMenu.TeleportToSpecificTeamCommand.create
(MinecraftClient client, Team team) Constructors in net.minecraft.client.gui.hud.spectator with parameters of type TeamModifierConstructorDescriptionprivate
TeleportToSpecificTeamCommand
(Team team, List<PlayerListEntry> scoreboardEntries, Supplier<SkinTextures> skinTexturesSupplier) -
Uses of Team in net.minecraft.client.network
Methods in net.minecraft.client.network that return Team -
Uses of Team in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return TeamModifier and TypeMethodDescriptionstatic Team
TeamArgumentType.getTeam
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) -
Uses of Team in net.minecraft.entity
Methods in net.minecraft.entity that return TeamModifier and TypeMethodDescriptionEntity.getScoreboardTeam()
Returns the scoreboard team the entity belongs to, ornull
if there is none. -
Uses of Team in net.minecraft.entity.conversion
Fields in net.minecraft.entity.conversion declared as TeamModifier and TypeFieldDescriptionEntityConversionContext.team
The field for theteam
record component.Methods in net.minecraft.entity.conversion that return TeamModifier and TypeMethodDescriptionEntityConversionContext.team()
Returns the value of theteam
record component.Constructors in net.minecraft.entity.conversion with parameters of type TeamModifierConstructorDescriptionEntityConversionContext
(EntityConversionType entityConversionType, boolean bool, boolean bool2, @Nullable Team team) -
Uses of Team in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive that return TeamModifier 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
Methods in net.minecraft.network.packet.s2c.play with parameters of type TeamModifier 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) Constructors in net.minecraft.network.packet.s2c.play with parameters of type Team -
Uses of Team in net.minecraft.scoreboard
Fields in net.minecraft.scoreboard with type parameters of type TeamModifier and TypeFieldDescriptionprivate final Object2ObjectMap
<String, Team> Scoreboard.teams
private final Object2ObjectMap
<String, Team> Scoreboard.teamsByScoreHolder
Methods in net.minecraft.scoreboard that return TeamMethods in net.minecraft.scoreboard that return types with arguments of type TeamMethods in net.minecraft.scoreboard with parameters of type TeamModifier 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
Methods in net.minecraft.server.command with parameters of type TeamModifier 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)