Uses of Record Class
net.minecraft.advancements.critereon.EntityTypePredicate
Packages that use EntityTypePredicate
-
Uses of EntityTypePredicate in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type EntityTypePredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<EntityTypePredicate> EntityTypePredicate.CODEC
private Optional
<EntityTypePredicate> EntityPredicate.Builder.entityType
private final Optional
<EntityTypePredicate> EntityPredicate.entityType
The field for theentityType
record component.Methods in net.minecraft.advancements.critereon that return EntityTypePredicateModifier and TypeMethodDescriptionstatic EntityTypePredicate
EntityTypePredicate.of
(TagKey<EntityType<?>> pTag) static EntityTypePredicate
EntityTypePredicate.of
(EntityType<?> pType) Methods in net.minecraft.advancements.critereon that return types with arguments of type EntityTypePredicateModifier and TypeMethodDescriptionEntityPredicate.entityType()
Returns the value of theentityType
record component.Methods in net.minecraft.advancements.critereon with parameters of type EntityTypePredicateModifier and TypeMethodDescriptionEntityPredicate.Builder.entityType
(EntityTypePredicate pEntityType) Constructor parameters in net.minecraft.advancements.critereon with type arguments of type EntityTypePredicateModifierConstructorDescriptionEntityPredicate
(Optional<EntityTypePredicate> entityType, Optional<DistancePredicate> distanceToPlayer, Optional<MovementPredicate> movement, EntityPredicate.LocationWrapper location, Optional<MobEffectsPredicate> effects, Optional<NbtPredicate> nbt, Optional<EntityFlagsPredicate> flags, Optional<EntityEquipmentPredicate> equipment, Optional<EntitySubPredicate> subPredicate, Optional<Integer> periodicTick, Optional<EntityPredicate> vehicle, Optional<EntityPredicate> passenger, Optional<EntityPredicate> targetedEntity, Optional<String> team, Optional<SlotsPredicate> slots) Creates an instance of aEntityPredicate
record class.