Class EntitySubPredicates.EntityHolderVariantPredicateType<V>
java.lang.Object
net.minecraft.advancements.critereon.EntitySubPredicates.EntityHolderVariantPredicateType<V>
- Enclosing class:
EntitySubPredicates
-
Nested Class Summary
Modifier and TypeClassDescription(package private) class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEntityHolderVariantPredicateType
(ResourceKey<? extends Registry<V>> p_332702_, Function<Entity, Optional<Holder<V>>> p_329584_) -
Method Summary
Modifier and TypeMethodDescriptionstatic <V> EntitySubPredicates.EntityHolderVariantPredicateType
<V> create
(ResourceKey<? extends Registry<V>> p_335498_, Function<Entity, Optional<Holder<V>>> p_336153_) createPredicate
(HolderSet<V> p_335527_)
-
Field Details
-
codec
final com.mojang.serialization.MapCodec<EntitySubPredicates.EntityHolderVariantPredicateType<V>.Instance> codec -
getter
-
-
Constructor Details
-
EntityHolderVariantPredicateType
-
-
Method Details
-
create
public static <V> EntitySubPredicates.EntityHolderVariantPredicateType<V> create(ResourceKey<? extends Registry<V>> p_335498_, Function<Entity, Optional<Holder<V>>> p_336153_) -
createPredicate
-