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 void
PlayerListHud. render(MatrixStack matrices, int int2, Scoreboard scoreboard, @Nullable ScoreboardObjective objective)
private void
PlayerListHud. renderScoreboardObjective(ScoreboardObjective objective, int int2, String string, int int3, int int4, PlayerListEntry entry, MatrixStack matrices)
private void
InGameHud. 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 ScoreboardObjective
ScoreboardObjectiveArgumentType. getObjective(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
static ScoreboardObjective
ScoreboardObjectiveArgumentType. 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 ScoreboardObjective
ScoreboardPlayerScore. objective
private ScoreboardObjective[]
Scoreboard. objectiveSlots
Fields in net.minecraft.scoreboard with type parameters of type ScoreboardObjective Modifier and Type Field Description private Map<String,ScoreboardObjective>
Scoreboard. objectives
private Set<ScoreboardObjective>
ServerScoreboard. objectives
private Map<ScoreboardCriterion,List<ScoreboardObjective>>
Scoreboard. objectivesByCriterion
private Map<String,Map<ScoreboardObjective,ScoreboardPlayerScore>>
Scoreboard. playerObjectives
Methods in net.minecraft.scoreboard that return ScoreboardObjective Modifier and Type Method Description ScoreboardObjective
Scoreboard. addObjective(String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType)
@Nullable ScoreboardObjective
Scoreboard. getNullableObjective(@Nullable String name)
ScoreboardObjective
Scoreboard. getObjective(String name)
@Nullable ScoreboardObjective
ScoreboardPlayerScore. getObjective()
@Nullable ScoreboardObjective
Scoreboard. 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 int
ScoreboardCommand. executeAdd(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score)
private static int
ScoreboardCommand. executeEnable(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective)
private static int
ScoreboardCommand. executeGet(ServerCommandSource source, String target, ScoreboardObjective objective)
private static int
ScoreboardCommand. executeModifyObjective(ServerCommandSource source, ScoreboardObjective objective, Text displayName)
private static int
ScoreboardCommand. executeModifyRenderType(ServerCommandSource source, ScoreboardObjective objective, ScoreboardCriterion.RenderType type)
private static int
ScoreboardCommand. executeOperation(ServerCommandSource source, Collection<String> targets, ScoreboardObjective targetObjective, OperationArgumentType.Operation operation, Collection<String> sources, ScoreboardObjective sourceObjectives)
private static int
ScoreboardCommand. executeRemove(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score)
private static int
ScoreboardCommand. executeRemoveObjective(ServerCommandSource source, ScoreboardObjective objective)
private static int
ScoreboardCommand. executeReset(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective)
private static int
ScoreboardCommand. executeSet(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score)
private static int
ScoreboardCommand. executeSetDisplay(ServerCommandSource source, int slot, ScoreboardObjective objective)
private static ServerCommandSource
ExecuteCommand. executeStoreScore(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, boolean requestResult)
private static ScoreboardPlayerScore
TriggerCommand. getScore(ServerPlayerEntity player, ScoreboardObjective objective)