Uses of Interface
net.minecraft.predicate.entity.EntitySubPredicate
-
Uses of EntitySubPredicate in net.minecraft.predicate.entity
Modifier and TypeClassDescriptionprivate class
private class
final record
final record
final record
final record
final record
final record
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<EntitySubPredicate> EntitySubPredicate.CODEC
private Optional
<EntitySubPredicate> EntityPredicate.Builder.typeSpecific
private final Optional
<EntitySubPredicate> EntityPredicate.typeSpecific
The field for thetypeSpecific
record component.Modifier and TypeMethodDescriptionprivate static <T extends EntitySubPredicate>
com.mojang.serialization.MapCodec<T> Modifier and TypeMethodDescriptionstatic EntitySubPredicate
EntitySubPredicateTypes.catVariant
(RegistryEntry<CatVariant> catVariant) EntitySubPredicateTypes.DynamicVariantType.createPredicate
(RegistryEntryList<V> variants) EntitySubPredicateTypes.VariantType.createPredicate
(V variant) static EntitySubPredicate
EntitySubPredicateTypes.frogVariant
(RegistryEntry<FrogVariant> frogVariant) static EntitySubPredicate
EntitySubPredicateTypes.wolfVariant
(RegistryEntryList<WolfVariant> wolfVariant) Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec
<? extends EntitySubPredicate> EntitySubPredicate.getCodec()
static com.mojang.serialization.MapCodec
<? extends EntitySubPredicate> EntitySubPredicateTypes.getDefault
(Registry<com.mojang.serialization.MapCodec<? extends EntitySubPredicate>> registry) EntityPredicate.typeSpecific()
Returns the value of thetypeSpecific
record component.Modifier and TypeMethodDescriptionEntityPredicate.Builder.typeSpecific
(EntitySubPredicate typeSpecific) Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends EntitySubPredicate> EntitySubPredicateTypes.getDefault
(Registry<com.mojang.serialization.MapCodec<? extends EntitySubPredicate>> registry) -
Uses of EntitySubPredicate in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final Registry
<com.mojang.serialization.MapCodec<? extends EntitySubPredicate>> Registries.ENTITY_SUB_PREDICATE_TYPE
static final RegistryKey
<Registry<com.mojang.serialization.MapCodec<? extends EntitySubPredicate>>> RegistryKeys.ENTITY_SUB_PREDICATE_TYPE