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> commandContext, String string)
ScoreboardCriterionArgumentType.parse(com.mojang.brigadier.StringReader stringReader)
-
Uses of ScoreboardCriterion in net.minecraft.scoreboard
Modifier 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
Modifier and TypeFieldDescriptionprivate static Map<String,ScoreboardCriterion>
ScoreboardCriterion.CRITERIA
A map of all scoreboard criteria by their names.private static Map<String,ScoreboardCriterion>
ScoreboardCriterion.field_33939
private Map<ScoreboardCriterion,List<ScoreboardObjective>>
Scoreboard.objectivesByCriterion
Modifier and TypeMethodDescriptionScoreboardObjective.getCriterion()
private static ScoreboardCriterion
ScoreboardCriterion.method_37269(String string, boolean bool, ScoreboardCriterion.RenderType renderType)
private static ScoreboardCriterion
ScoreboardCriterion.method_37270(String string)
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)
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