Uses of Interface
net.minecraft.advancements.critereon.EntitySubPredicate
-
Uses of EntitySubPredicate in net.minecraft.advancements.critereon
Modifier and TypeClassDescriptionstatic final record
final record
final record
final record
final record
Modifier and TypeFieldDescriptionprivate final com.mojang.serialization.MapCodec<? extends EntitySubPredicate>
EntitySubPredicate.Type.codec
The field for thecodec
record component.static final com.mojang.serialization.Codec<EntitySubPredicate>
EntitySubPredicate.CODEC
private Optional<EntitySubPredicate>
EntityPredicate.Builder.subPredicate
private final Optional<EntitySubPredicate>
EntityPredicate.subPredicate
The field for thesubPredicate
record component.Modifier and TypeMethodDescriptionstatic EntitySubPredicate
EntitySubPredicate.variant
(CatVariant p_218832_) static EntitySubPredicate
EntitySubPredicate.variant
(FrogVariant p_218834_) Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec<? extends EntitySubPredicate>
EntitySubPredicate.Type.codec()
Returns the value of thecodec
record component.EntityPredicate.subPredicate()
Returns the value of thesubPredicate
record component.Modifier and TypeMethodDescriptionEntityPredicate.Builder.subPredicate
(EntitySubPredicate p_218801_) ModifierConstructorDescriptionType
(com.mojang.serialization.MapCodec<? extends EntitySubPredicate> codec) Creates an instance of aType
record class.