net.minecraft.advancements

public record Criterion<T extends CriterionTriggerInstance>

an
net.minecraft.advancements.Criterion
net.minecraft.class_175
net.minecraft.advancement.AdvancementCriterion
net.minecraft.src.C_109_
net.minecraft.advancements.Criterion

Field summary

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

Constructor summary

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

Method summary

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