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> context, String name) 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 final Reference2ObjectMap
<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.Methods in net.minecraft.scoreboard that return ScoreboardCriterionModifier and TypeMethodDescriptionprivate static ScoreboardCriterion
private static ScoreboardCriterion
ScoreboardCriterion.create
(String name, boolean readOnly, ScoreboardCriterion.RenderType defaultRenderType) ScoreboardObjective.getCriterion()
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, boolean displayAutoUpdate, @Nullable NumberFormat numberFormat) final void
Scoreboard.forEachScore
(ScoreboardCriterion criterion, ScoreHolder scoreHolder, Consumer<ScoreAccess> action) Constructors in net.minecraft.scoreboard with parameters of type ScoreboardCriterionModifierConstructorDescriptionScoreboardObjective
(Scoreboard scoreboard, String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType, boolean displayAutoUpdate, @Nullable NumberFormat numberFormat) -
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
(ScoreHolder targetScoreHolder, ScoreHolder aboutScoreHolder, ScoreboardCriterion[] criterions) private void
ServerPlayerEntity.updateScores
(ScoreboardCriterion criterion, int score) -
Uses of ScoreboardCriterion in net.minecraft.stat
Subclasses of ScoreboardCriterion in net.minecraft.stat