net.minecraft.advancements.critereon

public class EntityVariantPredicate<V>

bt
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 final Function<Entity, Optional<V>>
a
getter
field_38741
variantGetter
f_219084_
private final EntitySubPredicate$Type
b
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(hq<V> arg0, Function<biq, 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<biq, 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 EntityVariantPredicate$SubPredicate<V>
a(V arg0)
createPredicate(V arg0)
method_43117(V arg0)
createPredicate(V variant)
m_219096_(V arg0)