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 ScoreboardCriterion
ScoreboardCriterion.AIR
static ScoreboardCriterion
ScoreboardCriterion.ARMOR
private ScoreboardCriterion
ScoreboardObjective.criterion
static ScoreboardCriterion
ScoreboardCriterion.DEATH_COUNT
static ScoreboardCriterion
ScoreboardCriterion.DUMMY
static ScoreboardCriterion
ScoreboardCriterion.FOOD
static ScoreboardCriterion
ScoreboardCriterion.HEALTH
static ScoreboardCriterion[]
ScoreboardCriterion.KILLED_BY_TEAMS
static ScoreboardCriterion
ScoreboardCriterion.LEVEL
static ScoreboardCriterion
ScoreboardCriterion.PLAYER_KILL_COUNT
static ScoreboardCriterion[]
ScoreboardCriterion.TEAM_KILLS
static ScoreboardCriterion
ScoreboardCriterion.TOTAL_KILL_COUNT
static ScoreboardCriterion
ScoreboardCriterion.TRIGGER
static ScoreboardCriterion
ScoreboardCriterion.XP
Fields in net.minecraft.scoreboard with type parameters of type ScoreboardCriterionModifier and TypeFieldDescriptionstatic Map<String,ScoreboardCriterion>
ScoreboardCriterion.CRITERIA
A map of all scoreboard criteria by their names.private Map<ScoreboardCriterion,List<ScoreboardObjective>>
Scoreboard.objectivesByCriterion
Methods in net.minecraft.scoreboard that return ScoreboardCriterionMethods 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)
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[] scoreboardCriterion)
private void
ServerPlayerEntity.updateScores(ScoreboardCriterion criterion, int score)
-
Uses of ScoreboardCriterion in net.minecraft.stat
Subclasses of ScoreboardCriterion in net.minecraft.stat