Uses of Class
net.minecraft.world.scores.criteria.ObjectiveCriteria
Package
Description
-
Uses of ObjectiveCriteria in net.minecraft.commands.arguments
Modifier and TypeMethodDescriptionstatic ObjectiveCriteria
ObjectiveCriteriaArgument.getCriteria
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_102566_, String p_102567_) ObjectiveCriteriaArgument.parse
(com.mojang.brigadier.StringReader p_102560_) -
Uses of ObjectiveCriteria in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static int
ScoreboardCommand.addObjective
(CommandSourceStack p_138503_, String p_138504_, ObjectiveCriteria p_138505_, Component p_138506_) -
Uses of ObjectiveCriteria in net.minecraft.server.level
Modifier and TypeMethodDescriptionprivate void
ServerPlayer.handleTeamKill
(String p_9125_, String p_9126_, ObjectiveCriteria[] p_9127_) private void
ServerPlayer.updateScoreForCriteria
(ObjectiveCriteria p_9105_, int p_9106_) -
Uses of ObjectiveCriteria in net.minecraft.stats
-
Uses of ObjectiveCriteria in net.minecraft.world.scores
Modifier and TypeFieldDescriptionprivate final Map<ObjectiveCriteria,
List<Objective>> Scoreboard.objectivesByCriteria
Modifier and TypeMethodDescriptionScoreboard.addObjective
(String p_83437_, ObjectiveCriteria p_83438_, Component p_83439_, ObjectiveCriteria.RenderType p_83440_) final void
Scoreboard.forAllObjectives
(ObjectiveCriteria p_83428_, String p_83429_, Consumer<Score> p_83430_) ModifierConstructorDescriptionObjective
(Scoreboard p_83308_, String p_83309_, ObjectiveCriteria p_83310_, Component p_83311_, ObjectiveCriteria.RenderType p_83312_) -
Uses of ObjectiveCriteria in net.minecraft.world.scores.criteria
Modifier and TypeFieldDescriptionstatic final ObjectiveCriteria
ObjectiveCriteria.AIR
static final ObjectiveCriteria
ObjectiveCriteria.ARMOR
static final ObjectiveCriteria
ObjectiveCriteria.DEATH_COUNT
static final ObjectiveCriteria
ObjectiveCriteria.DUMMY
static final ObjectiveCriteria
ObjectiveCriteria.EXPERIENCE
static final ObjectiveCriteria
ObjectiveCriteria.FOOD
static final ObjectiveCriteria
ObjectiveCriteria.HEALTH
static final ObjectiveCriteria
ObjectiveCriteria.KILL_COUNT_ALL
static final ObjectiveCriteria
ObjectiveCriteria.KILL_COUNT_PLAYERS
static final ObjectiveCriteria[]
ObjectiveCriteria.KILLED_BY_TEAM
static final ObjectiveCriteria
ObjectiveCriteria.LEVEL
static final ObjectiveCriteria[]
ObjectiveCriteria.TEAM_KILL
static final ObjectiveCriteria
ObjectiveCriteria.TRIGGER
Modifier and TypeFieldDescriptionprivate static final Map<String,
ObjectiveCriteria> ObjectiveCriteria.CRITERIA_CACHE
private static final Map<String,
ObjectiveCriteria> ObjectiveCriteria.CUSTOM_CRITERIA
Modifier and TypeMethodDescriptionprivate static ObjectiveCriteria
ObjectiveCriteria.registerCustom
(String p_166114_) private static ObjectiveCriteria
ObjectiveCriteria.registerCustom
(String p_166110_, boolean p_166111_, ObjectiveCriteria.RenderType p_166112_) Modifier and TypeMethodDescriptionstatic Optional<ObjectiveCriteria>
private static <T> Optional<ObjectiveCriteria>
ObjectiveCriteria.getStat
(StatType<T> p_83612_, ResourceLocation p_83613_)