use of net.minecraft.advancements.CriterionTrigger in project SpongeCommon by SpongePowered.
the class CriterionTriggerInstanceMixin_API method type.
@Override
default Trigger type() {
final CriterionTrigger triggerType = CriteriaTriggers.getCriterion(this.shadow$getCriterion());
Preconditions.checkNotNull(triggerType, "triggerType");
return (Trigger) triggerType;
}
Aggregations