Class EntityVariantPredicate<V>
java.lang.Object
net.minecraft.advancements.critereon.EntityVariantPredicate<V>
-
Field Summary
Modifier and TypeFieldDescription(package private) final EntitySubPredicate.Type
private static final String
(package private) final com.mojang.serialization.Codec<V>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <V> EntityVariantPredicate<V>
static <V> EntityVariantPredicate<V>
createPredicate
(V p_219097_) type()
-
Field Details
-
VARIANT_KEY
- See Also:
-
variantCodec
-
getter
-
type
-
-
Constructor Details
-
EntityVariantPredicate
-
-
Method Details
-
create
public static <V> EntityVariantPredicate<V> create(Registry<V> p_219094_, Function<Entity, Optional<V>> p_219095_) -
create
public static <V> EntityVariantPredicate<V> create(com.mojang.serialization.Codec<V> p_262671_, Function<Entity, Optional<V>> p_262652_) -
type
-
createPredicate
-