net.minecraft.advancements

public record Criterion<T extends CriterionTriggerInstance>

aq
net.minecraft.advancements.Criterion
net.minecraft.class_175
net.minecraft.advancement.AdvancementCriterion
net.minecraft.advancements.Criterion

Field summary

Modifier and TypeField
private final CriterionTrigger<T>
b
trigger
comp_1923
trigger
private final T
c
triggerInstance
comp_1924
conditions
private static final com.mojang.serialization.MapCodec<Criterion<?>>
d
MAP_CODEC
field_47189
MAP_CODEC
public static final com.mojang.serialization.Codec<Criterion<?>>
a
CODEC
field_47188
CODEC

Constructor summary

ModifierConstructor
public (CriterionTrigger<T> arg0, T arg1)

Method summary

Modifier and TypeMethod
private static <T extends CriterionTriggerInstance> com.mojang.serialization.Codec<Criterion<T>>
a(as<T> arg0)
criterionCodec(CriterionTrigger<T> arg0)
method_54935(class_179<T> arg0)
getCodec(Criterion<T> criterion)
public CriterionTrigger<T>
a()
trigger()
comp_1923()
trigger()
public T
b()
triggerInstance()
comp_1924()
conditions()