Uses of Class
net.minecraft.scoreboard.ScoreboardObjective
| Package | Description |
|---|---|
| net.minecraft.client.gui.hud | |
| net.minecraft.command.argument | |
| net.minecraft.network.packet.s2c.play | |
| net.minecraft.scoreboard | |
| net.minecraft.server.command |
-
Uses of ScoreboardObjective in net.minecraft.client.gui.hud
Methods in net.minecraft.client.gui.hud with parameters of type ScoreboardObjective Modifier and Type Method Description voidPlayerListHud. render(MatrixStack matrices, int int2, Scoreboard scoreboard, @Nullable ScoreboardObjective objective)private voidPlayerListHud. renderScoreboardObjective(ScoreboardObjective objective, int int2, String string, int int3, int int4, PlayerListEntry entry, MatrixStack matrices)private voidInGameHud. renderScoreboardSidebar(MatrixStack matrices, ScoreboardObjective objective) -
Uses of ScoreboardObjective in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return ScoreboardObjective Modifier and Type Method Description static ScoreboardObjectiveScoreboardObjectiveArgumentType. getObjective(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)static ScoreboardObjectiveScoreboardObjectiveArgumentType. getWritableObjective(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) -
Uses of ScoreboardObjective in net.minecraft.network.packet.s2c.play
Constructors in net.minecraft.network.packet.s2c.play with parameters of type ScoreboardObjective Constructor Description ScoreboardDisplayS2CPacket(int slot, @Nullable ScoreboardObjective objective)ScoreboardObjectiveUpdateS2CPacket(ScoreboardObjective objective, int mode) -
Uses of ScoreboardObjective in net.minecraft.scoreboard
Fields in net.minecraft.scoreboard declared as ScoreboardObjective Modifier and Type Field Description private @Nullable ScoreboardObjectiveScoreboardPlayerScore. objectiveprivate ScoreboardObjective[]Scoreboard. objectiveSlotsFields in net.minecraft.scoreboard with type parameters of type ScoreboardObjective Modifier and Type Field Description private Map<String,ScoreboardObjective>Scoreboard. objectivesprivate Set<ScoreboardObjective>ServerScoreboard. objectivesprivate Map<ScoreboardCriterion,List<ScoreboardObjective>>Scoreboard. objectivesByCriterionprivate Map<String,Map<ScoreboardObjective,ScoreboardPlayerScore>>Scoreboard. playerObjectivesMethods in net.minecraft.scoreboard that return ScoreboardObjective Modifier and Type Method Description ScoreboardObjectiveScoreboard. addObjective(String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType)@Nullable ScoreboardObjectiveScoreboard. getNullableObjective(@Nullable String name)ScoreboardObjectiveScoreboard. getObjective(String name)@Nullable ScoreboardObjectiveScoreboardPlayerScore. getObjective()@Nullable ScoreboardObjectiveScoreboard. getObjectiveForSlot(int slot)Methods in net.minecraft.scoreboard that return types with arguments of type ScoreboardObjective Modifier and Type Method Description Collection<ScoreboardObjective>Scoreboard. getObjectives()Map<ScoreboardObjective,ScoreboardPlayerScore>Scoreboard. getPlayerObjectives(String string)Constructors in net.minecraft.scoreboard with parameters of type ScoreboardObjective Constructor Description ScoreboardPlayerScore(Scoreboard scoreboard, ScoreboardObjective objective, String playerName) -
Uses of ScoreboardObjective in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type ScoreboardObjective Modifier and Type Method Description private static intScoreboardCommand. executeAdd(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score)private static intScoreboardCommand. executeEnable(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective)private static intScoreboardCommand. executeGet(ServerCommandSource source, String target, ScoreboardObjective objective)private static intScoreboardCommand. executeModifyObjective(ServerCommandSource source, ScoreboardObjective objective, Text displayName)private static intScoreboardCommand. executeModifyRenderType(ServerCommandSource source, ScoreboardObjective objective, ScoreboardCriterion.RenderType type)private static intScoreboardCommand. executeOperation(ServerCommandSource source, Collection<String> targets, ScoreboardObjective targetObjective, OperationArgumentType.Operation operation, Collection<String> sources, ScoreboardObjective sourceObjectives)private static intScoreboardCommand. executeRemove(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score)private static intScoreboardCommand. executeRemoveObjective(ServerCommandSource source, ScoreboardObjective objective)private static intScoreboardCommand. executeReset(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective)private static intScoreboardCommand. executeSet(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score)private static intScoreboardCommand. executeSetDisplay(ServerCommandSource source, int slot, ScoreboardObjective objective)private static ServerCommandSourceExecuteCommand. executeStoreScore(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, boolean requestResult)private static ScoreboardPlayerScoreTriggerCommand. getScore(ServerPlayerEntity player, ScoreboardObjective objective)