CriterionRegistry

public final class CriterionRegistry

Allows registering advancement criteria for triggers.

A registered criterion (trigger) can be retrieved through getById.

See also

net.minecraft.advancement.criterion.Criteria

Functions

register
Link copied to clipboard
static T register<T extends Criterion<? extends Object>>(T criterion)
Registers a criterion for a trigger for advancements.

Sources

jvm source
Link copied to clipboard