Uses of Class
net.minecraft.scoreboard.ScoreboardCriterion
Packages that use ScoreboardCriterion
Package
Description
-
Uses of ScoreboardCriterion in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return ScoreboardCriterionModifier and TypeMethodDescriptionstatic ScoreboardCriterion
ScoreboardCriterionArgumentType.getCriterion
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string) ScoreboardCriterionArgumentType.parse
(com.mojang.brigadier.StringReader stringReader) -
Uses of ScoreboardCriterion in net.minecraft.scoreboard
Fields in net.minecraft.scoreboard declared as ScoreboardCriterionModifier and TypeFieldDescriptionstatic final ScoreboardCriterion
ScoreboardCriterion.AIR
static final ScoreboardCriterion
ScoreboardCriterion.ARMOR
private final ScoreboardCriterion
ScoreboardObjective.criterion
static final ScoreboardCriterion
ScoreboardCriterion.DEATH_COUNT
static final ScoreboardCriterion
ScoreboardCriterion.DUMMY
static final ScoreboardCriterion
ScoreboardCriterion.FOOD
static final ScoreboardCriterion
ScoreboardCriterion.HEALTH
static final ScoreboardCriterion[]
ScoreboardCriterion.KILLED_BY_TEAMS
static final ScoreboardCriterion
ScoreboardCriterion.LEVEL
static final ScoreboardCriterion
ScoreboardCriterion.PLAYER_KILL_COUNT
static final ScoreboardCriterion[]
ScoreboardCriterion.TEAM_KILLS
static final ScoreboardCriterion
ScoreboardCriterion.TOTAL_KILL_COUNT
static final ScoreboardCriterion
ScoreboardCriterion.TRIGGER
static final ScoreboardCriterion
ScoreboardCriterion.XP
Fields in net.minecraft.scoreboard with type parameters of type ScoreboardCriterionModifier and TypeFieldDescriptionprivate static final Map<String,
ScoreboardCriterion> ScoreboardCriterion.CRITERIA
A map of all scoreboard criteria by their names.private static final Map<String,
ScoreboardCriterion> ScoreboardCriterion.field_33939
private final Map<ScoreboardCriterion,
List<ScoreboardObjective>> Scoreboard.objectivesByCriterion
Methods in net.minecraft.scoreboard that return ScoreboardCriterionModifier and TypeMethodDescriptionScoreboardObjective.getCriterion()
private static ScoreboardCriterion
ScoreboardCriterion.method_37269
(String string, boolean bool, ScoreboardCriterion.RenderType renderType) private static ScoreboardCriterion
ScoreboardCriterion.method_37270
(String string) Methods in net.minecraft.scoreboard that return types with arguments of type ScoreboardCriterionModifier and TypeMethodDescriptionstatic Optional<ScoreboardCriterion>
ScoreboardCriterion.getOrCreateStatCriterion
(String name) private static <T> Optional<ScoreboardCriterion>
ScoreboardCriterion.getOrCreateStatCriterion
(StatType<T> statType, Identifier id) Methods in net.minecraft.scoreboard with parameters of type ScoreboardCriterionModifier and TypeMethodDescriptionScoreboard.addObjective
(String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType) final void
Scoreboard.forEachScore
(ScoreboardCriterion criterion, String player, Consumer<ScoreboardPlayerScore> action) Constructors in net.minecraft.scoreboard with parameters of type ScoreboardCriterionModifierConstructorDescriptionScoreboardObjective
(Scoreboard scoreboard, String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType) -
Uses of ScoreboardCriterion in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type ScoreboardCriterionModifier and TypeMethodDescriptionprivate static int
ScoreboardCommand.executeAddObjective
(ServerCommandSource source, String objective, ScoreboardCriterion criteria, Text displayName) -
Uses of ScoreboardCriterion in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type ScoreboardCriterionModifier and TypeMethodDescriptionprivate void
ServerPlayerEntity.updateScoreboardScore
(String playerName, String team, ScoreboardCriterion[] criterions) private void
ServerPlayerEntity.updateScores
(ScoreboardCriterion criterion, int score) -
Uses of ScoreboardCriterion in net.minecraft.stat
Subclasses of ScoreboardCriterion in net.minecraft.stat