-
The field for the location
record component.
EntityPredicate.LocationWrapper.CODEC
Returns the value of the location
record component.
EntityPredicate(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 a EntityPredicate
record class.