Class EntitySubPredicates.EntityVariantPredicateType<V>
java.lang.Object
net.minecraft.advancements.critereon.EntitySubPredicates.EntityVariantPredicateType<V>
- Enclosing class:
EntitySubPredicates
-
Nested Class Summary
Modifier and TypeClassDescription(package private) class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <V> EntitySubPredicates.EntityVariantPredicateType
<V> static <V> EntitySubPredicates.EntityVariantPredicateType
<V> createPredicate
(V p_335305_)
-
Field Details
-
codec
final com.mojang.serialization.MapCodec<EntitySubPredicates.EntityVariantPredicateType<V>.Instance> codec -
getter
-
-
Constructor Details
-
EntityVariantPredicateType
-
-
Method Details
-
create
public static <V> EntitySubPredicates.EntityVariantPredicateType<V> create(Registry<V> p_331006_, Function<Entity, Optional<V>> p_335365_) -
create
public static <V> EntitySubPredicates.EntityVariantPredicateType<V> create(com.mojang.serialization.Codec<V> p_330954_, Function<Entity, Optional<V>> p_329190_) -
createPredicate
-