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
official bq$a
intermediary net/minecraft/class_2048$class_2049
named net/minecraft/predicate/entity/EntityPredicate$Builder
  • Field Details

    • type

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

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

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

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

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

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

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

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

      private Optional<TypeSpecificPredicate> typeSpecific
      Mappings:
      Namespace Name Mixin selector
      official i Lbq$a;i:Ljava/util/Optional;
      intermediary field_38722 Lnet/minecraft/class_2048$class_2049;field_38722:Ljava/util/Optional;
      named typeSpecific Lnet/minecraft/predicate/entity/EntityPredicate$Builder;typeSpecific:Ljava/util/Optional;
    • vehicle

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

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

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

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

    • Builder

      public Builder()
  • Method Details

    • create

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

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

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

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

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

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

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

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

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

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

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

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

      public EntityPredicate.Builder typeSpecific(TypeSpecificPredicate typeSpecific)
      Mappings:
      Namespace Name Mixin selector
      official a Lbq$a;a(Lbr;)Lbq$a;
      intermediary method_43094 Lnet/minecraft/class_2048$class_2049;method_43094(Lnet/minecraft/class_7376;)Lnet/minecraft/class_2048$class_2049;
      named typeSpecific Lnet/minecraft/predicate/entity/EntityPredicate$Builder;typeSpecific(Lnet/minecraft/predicate/entity/TypeSpecificPredicate;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
    • vehicle

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

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

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

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

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