Uses of Class
net.minecraft.scoreboard.ScoreboardCriterion
Package
Description
-
Uses of ScoreboardCriterion in net.minecraft.command.argument
Modifier and TypeMethodDescriptionstatic ScoreboardCriterion
ScoreboardCriterionArgumentType.getCriterion
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) ScoreboardCriterionArgumentType.parse
(com.mojang.brigadier.StringReader stringReader) -
Uses of ScoreboardCriterion in net.minecraft.scoreboard
Modifier 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
Modifier and TypeFieldDescriptionprivate static final Map<String,
ScoreboardCriterion> ScoreboardCriterion.CRITERIA
A map of all scoreboard criteria by their names.private final Map<ScoreboardCriterion,
List<ScoreboardObjective>> Scoreboard.objectivesByCriterion
private static final Map<String,
ScoreboardCriterion> ScoreboardCriterion.SIMPLE_CRITERIA
A map of all scoreboard criteria that can be identified with a single keyword (as opposed to combined words) by their names.Modifier and TypeMethodDescriptionprivate static ScoreboardCriterion
private static ScoreboardCriterion
ScoreboardCriterion.create
(String name, boolean readOnly, ScoreboardCriterion.RenderType defaultRenderType) ScoreboardObjective.getCriterion()
Modifier and TypeMethodDescriptionstatic Optional<ScoreboardCriterion>
ScoreboardCriterion.getOrCreateStatCriterion
(String name) private static <T> Optional<ScoreboardCriterion>
ScoreboardCriterion.getOrCreateStatCriterion
(StatType<T> statType, Identifier id) Modifier and TypeMethodDescriptionScoreboard.addObjective
(String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType) final void
Scoreboard.forEachScore
(ScoreboardCriterion criterion, String player, Consumer<ScoreboardPlayerScore> action) ModifierConstructorDescriptionScoreboardObjective
(Scoreboard scoreboard, String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType) -
Uses of ScoreboardCriterion in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static int
ScoreboardCommand.executeAddObjective
(ServerCommandSource source, String objective, ScoreboardCriterion criteria, Text displayName) -
Uses of ScoreboardCriterion in net.minecraft.server.network
Modifier 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