Class EntityPredicate.Builder

java.lang.Object
net.minecraft.predicate.entity.EntityPredicate.Builder
Enclosing class:
EntityPredicate

public static class EntityPredicate.Builder extends Object
Mappings:
Namespace Name
named net/minecraft/predicate/entity/EntityPredicate$Builder
intermediary net/minecraft/class_2048$class_2049
official bv$a
  • Field Details

    • type

      Mappings:
      Namespace Name Mixin selector
      named type Lnet/minecraft/predicate/entity/EntityPredicate$Builder;type:Ljava/util/Optional;
      intermediary field_9607 Lnet/minecraft/class_2048$class_2049;field_9607:Ljava/util/Optional;
      official a Lbv$a;a:Ljava/util/Optional;
    • distance

      private Optional<DistancePredicate> distance
      Mappings:
      Namespace Name Mixin selector
      named distance Lnet/minecraft/predicate/entity/EntityPredicate$Builder;distance:Ljava/util/Optional;
      intermediary field_9602 Lnet/minecraft/class_2048$class_2049;field_9602:Ljava/util/Optional;
      official b Lbv$a;b:Ljava/util/Optional;
    • field_51572

      private Optional<DistancePredicate> field_51572
      Mappings:
      Namespace Name Mixin selector
      named field_51572 Lnet/minecraft/predicate/entity/EntityPredicate$Builder;field_51572:Ljava/util/Optional;
      intermediary field_51572 Lnet/minecraft/class_2048$class_2049;field_51572:Ljava/util/Optional;
      official c Lbv$a;c:Ljava/util/Optional;
    • movement

      private Optional<MovementPredicate> movement
      Mappings:
      Namespace Name Mixin selector
      named movement Lnet/minecraft/predicate/entity/EntityPredicate$Builder;movement:Ljava/util/Optional;
      intermediary field_51573 Lnet/minecraft/class_2048$class_2049;field_51573:Ljava/util/Optional;
      official d Lbv$a;d:Ljava/util/Optional;
    • positional

      Mappings:
      Namespace Name Mixin selector
      named positional Lnet/minecraft/predicate/entity/EntityPredicate$Builder;positional:Ljava/util/Optional;
      intermediary field_9604 Lnet/minecraft/class_2048$class_2049;field_9604:Ljava/util/Optional;
      official e Lbv$a;e:Ljava/util/Optional;
    • location

      private Optional<LocationPredicate> location
      Mappings:
      Namespace Name Mixin selector
      named location Lnet/minecraft/predicate/entity/EntityPredicate$Builder;location:Ljava/util/Optional;
      intermediary field_51937 Lnet/minecraft/class_2048$class_2049;field_51937:Ljava/util/Optional;
      official f Lbv$a;f:Ljava/util/Optional;
    • steppingOn

      private Optional<LocationPredicate> steppingOn
      Mappings:
      Namespace Name Mixin selector
      named steppingOn Lnet/minecraft/predicate/entity/EntityPredicate$Builder;steppingOn:Ljava/util/Optional;
      intermediary field_33915 Lnet/minecraft/class_2048$class_2049;field_33915:Ljava/util/Optional;
      official g Lbv$a;g:Ljava/util/Optional;
    • movementAffectedBy

      private Optional<LocationPredicate> movementAffectedBy
      Mappings:
      Namespace Name Mixin selector
      named movementAffectedBy Lnet/minecraft/predicate/entity/EntityPredicate$Builder;movementAffectedBy:Ljava/util/Optional;
      intermediary field_51938 Lnet/minecraft/class_2048$class_2049;field_51938:Ljava/util/Optional;
      official h Lbv$a;h:Ljava/util/Optional;
    • effects

      private Optional<EntityEffectPredicate> effects
      Mappings:
      Namespace Name Mixin selector
      named effects Lnet/minecraft/predicate/entity/EntityPredicate$Builder;effects:Ljava/util/Optional;
      intermediary field_9605 Lnet/minecraft/class_2048$class_2049;field_9605:Ljava/util/Optional;
      official i Lbv$a;i:Ljava/util/Optional;
    • nbt

      private Optional<NbtPredicate> nbt
      Mappings:
      Namespace Name Mixin selector
      named nbt Lnet/minecraft/predicate/entity/EntityPredicate$Builder;nbt:Ljava/util/Optional;
      intermediary field_9603 Lnet/minecraft/class_2048$class_2049;field_9603:Ljava/util/Optional;
      official j Lbv$a;j:Ljava/util/Optional;
    • flags

      Mappings:
      Namespace Name Mixin selector
      named flags Lnet/minecraft/predicate/entity/EntityPredicate$Builder;flags:Ljava/util/Optional;
      intermediary field_9606 Lnet/minecraft/class_2048$class_2049;field_9606:Ljava/util/Optional;
      official k Lbv$a;k:Ljava/util/Optional;
    • equipment

      private Optional<EntityEquipmentPredicate> equipment
      Mappings:
      Namespace Name Mixin selector
      named equipment Lnet/minecraft/predicate/entity/EntityPredicate$Builder;equipment:Ljava/util/Optional;
      intermediary field_16491 Lnet/minecraft/class_2048$class_2049;field_16491:Ljava/util/Optional;
      official l Lbv$a;l:Ljava/util/Optional;
    • typeSpecific

      private Optional<EntitySubPredicate> typeSpecific
      Mappings:
      Namespace Name Mixin selector
      named typeSpecific Lnet/minecraft/predicate/entity/EntityPredicate$Builder;typeSpecific:Ljava/util/Optional;
      intermediary field_38722 Lnet/minecraft/class_2048$class_2049;field_38722:Ljava/util/Optional;
      official m Lbv$a;m:Ljava/util/Optional;
    • periodicTick

      private Optional<Integer> periodicTick
      Mappings:
      Namespace Name Mixin selector
      named periodicTick Lnet/minecraft/predicate/entity/EntityPredicate$Builder;periodicTick:Ljava/util/Optional;
      intermediary field_51574 Lnet/minecraft/class_2048$class_2049;field_51574:Ljava/util/Optional;
      official n Lbv$a;n:Ljava/util/Optional;
    • vehicle

      private Optional<EntityPredicate> vehicle
      Mappings:
      Namespace Name Mixin selector
      named vehicle Lnet/minecraft/predicate/entity/EntityPredicate$Builder;vehicle:Ljava/util/Optional;
      intermediary field_24490 Lnet/minecraft/class_2048$class_2049;field_24490:Ljava/util/Optional;
      official o Lbv$a;o:Ljava/util/Optional;
    • passenger

      private Optional<EntityPredicate> passenger
      Mappings:
      Namespace Name Mixin selector
      named passenger Lnet/minecraft/predicate/entity/EntityPredicate$Builder;passenger:Ljava/util/Optional;
      intermediary field_33917 Lnet/minecraft/class_2048$class_2049;field_33917:Ljava/util/Optional;
      official p Lbv$a;p:Ljava/util/Optional;
    • targetedEntity

      private Optional<EntityPredicate> targetedEntity
      Mappings:
      Namespace Name Mixin selector
      named targetedEntity Lnet/minecraft/predicate/entity/EntityPredicate$Builder;targetedEntity:Ljava/util/Optional;
      intermediary field_24491 Lnet/minecraft/class_2048$class_2049;field_24491:Ljava/util/Optional;
      official q Lbv$a;q:Ljava/util/Optional;
    • team

      private Optional<String> team
      Mappings:
      Namespace Name Mixin selector
      named team Lnet/minecraft/predicate/entity/EntityPredicate$Builder;team:Ljava/util/Optional;
      intermediary field_20700 Lnet/minecraft/class_2048$class_2049;field_20700:Ljava/util/Optional;
      official r Lbv$a;r:Ljava/util/Optional;
    • slots

      private Optional<SlotsPredicate> slots
      Mappings:
      Namespace Name Mixin selector
      named slots Lnet/minecraft/predicate/entity/EntityPredicate$Builder;slots:Ljava/util/Optional;
      intermediary field_49721 Lnet/minecraft/class_2048$class_2049;field_49721:Ljava/util/Optional;
      official s Lbv$a;s:Ljava/util/Optional;
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • create

      public static EntityPredicate.Builder create()
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/predicate/entity/EntityPredicate$Builder;create()Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
      intermediary method_8916 Lnet/minecraft/class_2048$class_2049;method_8916()Lnet/minecraft/class_2048$class_2049;
      official a Lbv$a;a()Lbv$a;
    • type

      public EntityPredicate.Builder type(EntityType<?> type)
      Mappings:
      Namespace Name Mixin selector
      named type Lnet/minecraft/predicate/entity/EntityPredicate$Builder;type(Lnet/minecraft/entity/EntityType;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
      intermediary method_8921 Lnet/minecraft/class_2048$class_2049;method_8921(Lnet/minecraft/class_1299;)Lnet/minecraft/class_2048$class_2049;
      official a Lbv$a;a(Lbsw;)Lbv$a;
    • type

      public EntityPredicate.Builder type(TagKey<EntityType<?>> tag)
      Mappings:
      Namespace Name Mixin selector
      named type Lnet/minecraft/predicate/entity/EntityPredicate$Builder;type(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
      intermediary method_8922 Lnet/minecraft/class_2048$class_2049;method_8922(Lnet/minecraft/class_6862;)Lnet/minecraft/class_2048$class_2049;
      official a Lbv$a;a(Lawt;)Lbv$a;
    • type

      Mappings:
      Namespace Name Mixin selector
      named type Lnet/minecraft/predicate/entity/EntityPredicate$Builder;type(Lnet/minecraft/predicate/entity/EntityTypePredicate;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
      intermediary method_8917 Lnet/minecraft/class_2048$class_2049;method_8917(Lnet/minecraft/class_2050;)Lnet/minecraft/class_2048$class_2049;
      official a Lbv$a;a(Lby;)Lbv$a;
    • distance

      public EntityPredicate.Builder distance(DistancePredicate distance)
      Mappings:
      Namespace Name Mixin selector
      named distance Lnet/minecraft/predicate/entity/EntityPredicate$Builder;distance(Lnet/minecraft/predicate/entity/DistancePredicate;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
      intermediary method_8924 Lnet/minecraft/class_2048$class_2049;method_8924(Lnet/minecraft/class_2025;)Lnet/minecraft/class_2048$class_2049;
      official a Lbv$a;a(Lbm;)Lbv$a;
    • movement

      public EntityPredicate.Builder movement(MovementPredicate movement)
      Mappings:
      Namespace Name Mixin selector
      named movement Lnet/minecraft/predicate/entity/EntityPredicate$Builder;movement(Lnet/minecraft/predicate/entity/MovementPredicate;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
      intermediary method_59930 Lnet/minecraft/class_2048$class_2049;method_59930(Lnet/minecraft/class_9750;)Lnet/minecraft/class_2048$class_2049;
      official a Lbv$a;a(Ldj;)Lbv$a;
    • location

      Mappings:
      Namespace Name Mixin selector
      named location Lnet/minecraft/predicate/entity/EntityPredicate$Builder;location(Lnet/minecraft/predicate/entity/LocationPredicate$Builder;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
      intermediary method_8918 Lnet/minecraft/class_2048$class_2049;method_8918(Lnet/minecraft/class_2090$class_2091;)Lnet/minecraft/class_2048$class_2049;
      official a Lbv$a;a(Ldf$a;)Lbv$a;
    • steppingOn

      public EntityPredicate.Builder steppingOn(LocationPredicate.Builder steppingOn)
      Mappings:
      Namespace Name Mixin selector
      named steppingOn Lnet/minecraft/predicate/entity/EntityPredicate$Builder;steppingOn(Lnet/minecraft/predicate/entity/LocationPredicate$Builder;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
      intermediary method_37230 Lnet/minecraft/class_2048$class_2049;method_37230(Lnet/minecraft/class_2090$class_2091;)Lnet/minecraft/class_2048$class_2049;
      official b Lbv$a;b(Ldf$a;)Lbv$a;
    • movementAffectedBy

      public EntityPredicate.Builder movementAffectedBy(LocationPredicate.Builder movementAffectedBy)
      Mappings:
      Namespace Name Mixin selector
      named movementAffectedBy Lnet/minecraft/predicate/entity/EntityPredicate$Builder;movementAffectedBy(Lnet/minecraft/predicate/entity/LocationPredicate$Builder;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
      intermediary method_60611 Lnet/minecraft/class_2048$class_2049;method_60611(Lnet/minecraft/class_2090$class_2091;)Lnet/minecraft/class_2048$class_2049;
      official c Lbv$a;c(Ldf$a;)Lbv$a;
    • effects

      Mappings:
      Namespace Name Mixin selector
      named effects Lnet/minecraft/predicate/entity/EntityPredicate$Builder;effects(Lnet/minecraft/predicate/entity/EntityEffectPredicate$Builder;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
      intermediary method_8923 Lnet/minecraft/class_2048$class_2049;method_8923(Lnet/minecraft/class_2102$class_8748;)Lnet/minecraft/class_2048$class_2049;
      official a Lbv$a;a(Ldi$a;)Lbv$a;
    • nbt

      Mappings:
      Namespace Name Mixin selector
      named nbt Lnet/minecraft/predicate/entity/EntityPredicate$Builder;nbt(Lnet/minecraft/predicate/NbtPredicate;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
      intermediary method_8915 Lnet/minecraft/class_2048$class_2049;method_8915(Lnet/minecraft/class_2105;)Lnet/minecraft/class_2048$class_2049;
      official a Lbv$a;a(Ldk;)Lbv$a;
    • flags

      Mappings:
      Namespace Name Mixin selector
      named flags Lnet/minecraft/predicate/entity/EntityPredicate$Builder;flags(Lnet/minecraft/predicate/entity/EntityFlagsPredicate$Builder;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
      intermediary method_8919 Lnet/minecraft/class_2048$class_2049;method_8919(Lnet/minecraft/class_2040$class_2041;)Lnet/minecraft/class_2048$class_2049;
      official a Lbv$a;a(Lbt$a;)Lbv$a;
    • equipment

      Mappings:
      Namespace Name Mixin selector
      named equipment Lnet/minecraft/predicate/entity/EntityPredicate$Builder;equipment(Lnet/minecraft/predicate/entity/EntityEquipmentPredicate$Builder;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
      intermediary method_53141 Lnet/minecraft/class_2048$class_2049;method_53141(Lnet/minecraft/class_3735$class_5278;)Lnet/minecraft/class_2048$class_2049;
      official a Lbv$a;a(Lbs$a;)Lbv$a;
    • equipment

      public EntityPredicate.Builder equipment(EntityEquipmentPredicate equipment)
      Mappings:
      Namespace Name Mixin selector
      named equipment Lnet/minecraft/predicate/entity/EntityPredicate$Builder;equipment(Lnet/minecraft/predicate/entity/EntityEquipmentPredicate;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
      intermediary method_16227 Lnet/minecraft/class_2048$class_2049;method_16227(Lnet/minecraft/class_3735;)Lnet/minecraft/class_2048$class_2049;
      official a Lbv$a;a(Lbs;)Lbv$a;
    • typeSpecific

      public EntityPredicate.Builder typeSpecific(EntitySubPredicate typeSpecific)
      Mappings:
      Namespace Name Mixin selector
      named typeSpecific Lnet/minecraft/predicate/entity/EntityPredicate$Builder;typeSpecific(Lnet/minecraft/predicate/entity/EntitySubPredicate;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
      intermediary method_43094 Lnet/minecraft/class_2048$class_2049;method_43094(Lnet/minecraft/class_7376;)Lnet/minecraft/class_2048$class_2049;
      official a Lbv$a;a(Lbw;)Lbv$a;
    • periodicTick

      public EntityPredicate.Builder periodicTick(int periodicTick)
      Mappings:
      Namespace Name Mixin selector
      named periodicTick Lnet/minecraft/predicate/entity/EntityPredicate$Builder;periodicTick(I)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
      intermediary method_59929 Lnet/minecraft/class_2048$class_2049;method_59929(I)Lnet/minecraft/class_2048$class_2049;
      official a Lbv$a;a(I)Lbv$a;
    • vehicle

      Mappings:
      Namespace Name Mixin selector
      named vehicle Lnet/minecraft/predicate/entity/EntityPredicate$Builder;vehicle(Lnet/minecraft/predicate/entity/EntityPredicate$Builder;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
      intermediary method_27971 Lnet/minecraft/class_2048$class_2049;method_27971(Lnet/minecraft/class_2048$class_2049;)Lnet/minecraft/class_2048$class_2049;
      official a Lbv$a;a(Lbv$a;)Lbv$a;
    • passenger

      public EntityPredicate.Builder passenger(EntityPredicate.Builder passenger)
      Mappings:
      Namespace Name Mixin selector
      named passenger Lnet/minecraft/predicate/entity/EntityPredicate$Builder;passenger(Lnet/minecraft/predicate/entity/EntityPredicate$Builder;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
      intermediary method_37229 Lnet/minecraft/class_2048$class_2049;method_37229(Lnet/minecraft/class_2048$class_2049;)Lnet/minecraft/class_2048$class_2049;
      official b Lbv$a;b(Lbv$a;)Lbv$a;
    • targetedEntity

      public EntityPredicate.Builder targetedEntity(EntityPredicate.Builder targetedEntity)
      Mappings:
      Namespace Name Mixin selector
      named targetedEntity Lnet/minecraft/predicate/entity/EntityPredicate$Builder;targetedEntity(Lnet/minecraft/predicate/entity/EntityPredicate$Builder;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
      intermediary method_27972 Lnet/minecraft/class_2048$class_2049;method_27972(Lnet/minecraft/class_2048$class_2049;)Lnet/minecraft/class_2048$class_2049;
      official c Lbv$a;c(Lbv$a;)Lbv$a;
    • team

      public EntityPredicate.Builder team(String team)
      Mappings:
      Namespace Name Mixin selector
      named team Lnet/minecraft/predicate/entity/EntityPredicate$Builder;team(Ljava/lang/String;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
      intermediary method_22470 Lnet/minecraft/class_2048$class_2049;method_22470(Ljava/lang/String;)Lnet/minecraft/class_2048$class_2049;
      official a Lbv$a;a(Ljava/lang/String;)Lbv$a;
    • slots

      Mappings:
      Namespace Name Mixin selector
      named slots Lnet/minecraft/predicate/entity/EntityPredicate$Builder;slots(Lnet/minecraft/predicate/entity/SlotsPredicate;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
      intermediary method_58058 Lnet/minecraft/class_2048$class_2049;method_58058(Lnet/minecraft/class_9350;)Lnet/minecraft/class_2048$class_2049;
      official a Lbv$a;a(Ldz;)Lbv$a;
    • build

      public EntityPredicate build()
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/predicate/entity/EntityPredicate$Builder;build()Lnet/minecraft/predicate/entity/EntityPredicate;
      intermediary method_8920 Lnet/minecraft/class_2048$class_2049;method_8920()Lnet/minecraft/class_2048;
      official b Lbv$a;b()Lbv;