net.minecraft.advancements.critereon

public class EntitySubPredicates$EntityHolderVariantPredicateType<V>

by$a
net.minecraft.advancements.critereon.EntitySubPredicates$EntityHolderVariantPredicateType
net.minecraft.class_7378$class_9419
net.minecraft.predicate.entity.EntitySubPredicateTypes$DynamicVariantType
net.minecraft.advancements.critereon.EntitySubPredicates$a

Field summary

Modifier and TypeField
final com.mojang.serialization.MapCodec<EntitySubPredicates$EntityHolderVariantPredicateType<V>.Instance>
a
codec
field_49974
codec
final Function<Entity, Optional<Holder<V>>>
b
getter
field_49975
variantGetter

Constructor summary

ModifierConstructor
public (ResourceKey<? extends Registry<V>> registryRef, Function<Entity, Optional<Holder<V>>> variantGetter)

Method summary

Modifier and TypeMethod
public static <V> EntitySubPredicates$EntityHolderVariantPredicateType<V>
a(aly<? extends kd<V>> arg0, Function<bvk, Optional<jq<V>>> arg1)
create(ResourceKey<? extends Registry<V>> arg0, Function<Entity, Optional<Holder<V>>> arg1)
method_58354(class_5321<? extends class_2378<V>> arg0, Function<class_1297, Optional<class_6880<V>>> arg1)
create(RegistryKey<? extends Registry<V>> registryRef, Function<Entity, Optional<RegistryEntry<V>>> variantGetter)
public EntitySubPredicate
a(ju<V> arg0)
createPredicate(HolderSet<V> arg0)
method_58356(class_6885<V> arg0)
createPredicate(RegistryEntryList<V> variants)