net.minecraft.predicate.entity

record PlayerSubPredicate$StatMatcher<T>

net.minecraft.advancements.predicates.entity.PlayerPredicate$StatMatcher
net.minecraft.advancements.predicates.entity.PlayerPredicate$StatMatcher
net.minecraft.class_4553$class_8749
net.minecraft.predicate.entity.PlayerSubPredicate$StatMatcher

Field summary

Modifier and TypeField
private final StatType<T>
type
type
comp_1825
type
private final RegistryEntry<T>
value
value
comp_1826
value
private final NumberRange$IntRange
range
range
comp_1827
range
private final Supplier<Stat<T>>
stat
stat
comp_1828
stat
public static final com.mojang.serialization.Codec<PlayerSubPredicate$StatMatcher<?>>
CODEC
CODEC
field_45774
CODEC

Constructor summary

ModifierConstructor
public (StatType<T> type, RegistryEntry<T> value, NumberRange$IntRange range)
private (StatType<T> type, RegistryEntry<T> value, NumberRange$IntRange range, Supplier<Stat<T>> stat)

Method summary

Modifier and TypeMethod
private static <T> com.mojang.serialization.MapCodec<PlayerSubPredicate$StatMatcher<T>>
createTypedCodec(StatType<T> type)
createTypedCodec(StatType<T> type)
method_53224(class_3448<T> arg0)
createCodec(StatType<T> type)
public boolean
matches(StatsCounter counter)
matches(StatsCounter counter)
method_53228(class_3469 arg0)
test(StatHandler statHandler)
public StatType<T>
type()
type()
comp_1825()
type()
public RegistryEntry<T>
value()
value()
comp_1826()
value()
public NumberRange$IntRange
range()
range()
comp_1827()
range()
public Supplier<Stat<T>>
stat()
stat()
comp_1828()
stat()