net.minecraft.advancements.critereon

public class EntityVariantPredicate<V>

br
net.minecraft.advancements.critereon.EntityVariantPredicate
net.minecraft.class_7380
net.minecraft.predicate.entity.VariantPredicates
net.minecraft.src.C_213055_
net.minecraft.advancements.critereon.EntityVariantPredicate

Field summary

Modifier and TypeField
private static final String
a
VARIANT_KEY
field_38739
VARIANT_KEY
f_219082_
final com.mojang.serialization.Codec<V>
b
variantCodec
field_41547
codec
f_262213_
final Function<Entity, Optional<V>>
c
getter
field_38741
variantGetter
f_219084_
final EntitySubPredicate$Type
d
type
field_38742
deserializer
f_219085_

Constructor summary

ModifierConstructor
private (com.mojang.serialization.Codec<V> codec, Function<Entity, Optional<V>> variantGetter)

Method summary

Modifier and TypeMethod
public static <V> EntityVariantPredicate<V>
a(hr<V> arg0, Function<bfj, Optional<V>> arg1)
create(Registry<V> arg0, Function<Entity, Optional<V>> arg1)
method_43116(class_2378<V> arg0, Function<class_1297, Optional<V>> arg1)
create(Registry<V> registry, Function<Entity, Optional<V>> variantGetter)
m_219093_(C_4705_<V> p_219094_, Function<C_507_, Optional<V>> p_219095_)
public static <V> EntityVariantPredicate<V>
a(com.mojang.serialization.Codec<V> arg0, Function<bfj, Optional<V>> arg1)
create(com.mojang.serialization.Codec<V> arg0, Function<Entity, Optional<V>> arg1)
method_47840(com.mojang.serialization.Codec<V> arg0, Function<class_1297, Optional<V>> arg1)
create(com.mojang.serialization.Codec<V> codec, Function<Entity, Optional<V>> variantGetter)
m_262478_(com.mojang.serialization.Codec<V> p_262671_, Function<C_507_, Optional<V>> p_262652_)
public EntitySubPredicate$Type
a()
type()
method_43114()
getDeserializer()
m_219089_()
public EntitySubPredicate
a(V arg0)
createPredicate(V arg0)
method_43117(V arg0)
createPredicate(V variant)
m_219096_(V arg0)