Uses of Class
net.minecraft.predicate.entity.EntitySubPredicateTypes.DynamicVariantType
-
Uses of EntitySubPredicateTypes.DynamicVariantType in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionstatic final EntitySubPredicateTypes.DynamicVariantType
<CatVariant> EntitySubPredicateTypes.CAT
static final EntitySubPredicateTypes.DynamicVariantType
<FrogVariant> EntitySubPredicateTypes.FROG
static final EntitySubPredicateTypes.DynamicVariantType
<PaintingVariant> EntitySubPredicateTypes.PAINTING
static final EntitySubPredicateTypes.DynamicVariantType
<WolfVariant> EntitySubPredicateTypes.WOLF
Modifier and TypeMethodDescriptionstatic <V> EntitySubPredicateTypes.DynamicVariantType
<V> EntitySubPredicateTypes.DynamicVariantType.create
(RegistryKey<? extends Registry<V>> registryRef, Function<Entity, Optional<RegistryEntry<V>>> variantGetter) private static <V> EntitySubPredicateTypes.DynamicVariantType
<V> EntitySubPredicateTypes.register
(String id, EntitySubPredicateTypes.DynamicVariantType<V> type) Modifier and TypeMethodDescriptionprivate static <V> EntitySubPredicateTypes.DynamicVariantType
<V> EntitySubPredicateTypes.register
(String id, EntitySubPredicateTypes.DynamicVariantType<V> type)