类的使用
net.minecraft.scoreboard.Team
-
-
net.minecraft.client.gui.hud.spectator中Team的使用
声明为Team的net.minecraft.client.gui.hud.spectator中的字段 修饰符和类型 字段 说明 private TeamTeamTeleportSpectatorMenu.TeleportToSpecificTeamCommand. team参数类型为Team的net.minecraft.client.gui.hud.spectator中的构造器 构造器 说明 TeleportToSpecificTeamCommand(Team team) -
net.minecraft.client.network中Team的使用
返回Team的net.minecraft.client.network中的方法 修饰符和类型 方法 说明 @Nullable TeamPlayerListEntry. getScoreboardTeam() -
net.minecraft.command.argument中Team的使用
返回Team的net.minecraft.command.argument中的方法 修饰符和类型 方法 说明 static TeamTeamArgumentType. getTeam(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) -
net.minecraft.network.packet.s2c.play中Team的使用
参数类型为Team的net.minecraft.network.packet.s2c.play中的方法 修饰符和类型 方法 说明 static TeamS2CPacketTeamS2CPacket. changePlayerTeam(Team team, String playerName, TeamS2CPacket.Operation operation)static TeamS2CPacketTeamS2CPacket. updateRemovedTeam(Team team)static TeamS2CPacketTeamS2CPacket. updateTeam(Team team, boolean updatePlayers)参数类型为Team的net.minecraft.network.packet.s2c.play中的构造器 构造器 说明 SerializableTeam(Team team) -
net.minecraft.scoreboard中Team的使用
类型参数类型为Team的net.minecraft.scoreboard中的字段 修饰符和类型 字段 说明 private Map<String,Team>Scoreboard. teamsprivate Map<String,Team>Scoreboard. teamsByPlayer返回Team的net.minecraft.scoreboard中的方法 修饰符和类型 方法 说明 TeamScoreboard. addTeam(String name)@Nullable TeamScoreboard. getPlayerTeam(String playerName)TeamScoreboard. getTeam(String name)返回变量类型为Team的类型的net.minecraft.scoreboard中的方法 修饰符和类型 方法 说明 Collection<Team>Scoreboard. getTeams()参数类型为Team的net.minecraft.scoreboard中的方法 修饰符和类型 方法 说明 booleanScoreboard. addPlayerToTeam(String playerName, Team team)booleanServerScoreboard. addPlayerToTeam(String playerName, Team team)private voidScoreboardState. readTeamPlayersNbt(Team team, ListTag nbt)voidScoreboard. removePlayerFromTeam(String playerName, Team team)voidServerScoreboard. removePlayerFromTeam(String playerName, Team team)voidScoreboard. removeTeam(Team team)voidScoreboard. updateRemovedTeam(Team team)voidServerScoreboard. updateRemovedTeam(Team team)voidScoreboard. updateScoreboardTeam(Team team)voidServerScoreboard. updateScoreboardTeam(Team team)voidScoreboard. updateScoreboardTeamAndPlayers(Team team)voidServerScoreboard. updateScoreboardTeamAndPlayers(Team team) -
net.minecraft.server.command中Team的使用
参数类型为Team的net.minecraft.server.command中的方法 修饰符和类型 方法 说明 private static intTeamCommand. executeEmpty(ServerCommandSource source, Team team)private static intTeamCommand. executeJoin(ServerCommandSource source, Team team, Collection<String> members)private static intTeamCommand. executeListMembers(ServerCommandSource source, Team team)private static intTeamCommand. executeModifyCollisionRule(ServerCommandSource source, Team team, AbstractTeam.CollisionRule collisionRule)private static intTeamCommand. executeModifyColor(ServerCommandSource source, Team team, Formatting color)private static intTeamCommand. executeModifyDeathMessageVisibility(ServerCommandSource source, Team team, AbstractTeam.VisibilityRule visibility)private static intTeamCommand. executeModifyDisplayName(ServerCommandSource source, Team team, Text displayName)private static intTeamCommand. executeModifyFriendlyFire(ServerCommandSource source, Team team, boolean allowed)private static intTeamCommand. executeModifyNametagVisibility(ServerCommandSource source, Team team, AbstractTeam.VisibilityRule visibility)private static intTeamCommand. executeModifyPrefix(ServerCommandSource source, Team team, Text prefix)private static intTeamCommand. executeModifySeeFriendlyInvisibles(ServerCommandSource source, Team team, boolean allowed)private static intTeamCommand. executeModifySuffix(ServerCommandSource source, Team team, Text suffix)private static intTeamCommand. executeRemove(ServerCommandSource source, Team team)
-