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

    • type

      private EntityTypePredicate type
      Mappings:
      Namespace Name Mixin selector
      official a Lbn$a;a:Lbp;
      intermediary field_9607 Lnet/minecraft/class_2048$class_2049;field_9607:Lnet/minecraft/class_2050;
      named type Lnet/minecraft/predicate/entity/EntityPredicate$Builder;type:Lnet/minecraft/predicate/entity/EntityTypePredicate;
    • distance

      private DistancePredicate distance
      Mappings:
      Namespace Name Mixin selector
      official b Lbn$a;b:Lbe;
      intermediary field_9602 Lnet/minecraft/class_2048$class_2049;field_9602:Lnet/minecraft/class_2025;
      named distance Lnet/minecraft/predicate/entity/EntityPredicate$Builder;distance:Lnet/minecraft/predicate/entity/DistancePredicate;
    • location

      private LocationPredicate location
      Mappings:
      Namespace Name Mixin selector
      official c Lbn$a;c:Lcg;
      intermediary field_9604 Lnet/minecraft/class_2048$class_2049;field_9604:Lnet/minecraft/class_2090;
      named location Lnet/minecraft/predicate/entity/EntityPredicate$Builder;location:Lnet/minecraft/predicate/entity/LocationPredicate;
    • steppingOn

      private LocationPredicate steppingOn
      Mappings:
      Namespace Name Mixin selector
      official d Lbn$a;d:Lcg;
      intermediary field_33915 Lnet/minecraft/class_2048$class_2049;field_33915:Lnet/minecraft/class_2090;
      named steppingOn Lnet/minecraft/predicate/entity/EntityPredicate$Builder;steppingOn:Lnet/minecraft/predicate/entity/LocationPredicate;
    • effects

      private EntityEffectPredicate effects
      Mappings:
      Namespace Name Mixin selector
      official e Lbn$a;e:Lcj;
      intermediary field_9605 Lnet/minecraft/class_2048$class_2049;field_9605:Lnet/minecraft/class_2102;
      named effects Lnet/minecraft/predicate/entity/EntityPredicate$Builder;effects:Lnet/minecraft/predicate/entity/EntityEffectPredicate;
    • nbt

      private NbtPredicate nbt
      Mappings:
      Namespace Name Mixin selector
      official f Lbn$a;f:Lck;
      intermediary field_9603 Lnet/minecraft/class_2048$class_2049;field_9603:Lnet/minecraft/class_2105;
      named nbt Lnet/minecraft/predicate/entity/EntityPredicate$Builder;nbt:Lnet/minecraft/predicate/NbtPredicate;
    • flags

      private EntityFlagsPredicate flags
      Mappings:
      Namespace Name Mixin selector
      official g Lbn$a;g:Lbl;
      intermediary field_9606 Lnet/minecraft/class_2048$class_2049;field_9606:Lnet/minecraft/class_2040;
      named flags Lnet/minecraft/predicate/entity/EntityPredicate$Builder;flags:Lnet/minecraft/predicate/entity/EntityFlagsPredicate;
    • equipment

      private EntityEquipmentPredicate equipment
      Mappings:
      Namespace Name Mixin selector
      official h Lbn$a;h:Lbk;
      intermediary field_16491 Lnet/minecraft/class_2048$class_2049;field_16491:Lnet/minecraft/class_3735;
      named equipment Lnet/minecraft/predicate/entity/EntityPredicate$Builder;equipment:Lnet/minecraft/predicate/entity/EntityEquipmentPredicate;
    • typeSpecific

      private TypeSpecificPredicate typeSpecific
      Mappings:
      Namespace Name Mixin selector
      official i Lbn$a;i:Lbo;
      intermediary field_38722 Lnet/minecraft/class_2048$class_2049;field_38722:Lnet/minecraft/class_7376;
      named typeSpecific Lnet/minecraft/predicate/entity/EntityPredicate$Builder;typeSpecific:Lnet/minecraft/predicate/entity/TypeSpecificPredicate;
    • vehicle

      private EntityPredicate vehicle
      Mappings:
      Namespace Name Mixin selector
      official j Lbn$a;j:Lbn;
      intermediary field_24490 Lnet/minecraft/class_2048$class_2049;field_24490:Lnet/minecraft/class_2048;
      named vehicle Lnet/minecraft/predicate/entity/EntityPredicate$Builder;vehicle:Lnet/minecraft/predicate/entity/EntityPredicate;
    • passenger

      private EntityPredicate passenger
      Mappings:
      Namespace Name Mixin selector
      official k Lbn$a;k:Lbn;
      intermediary field_33917 Lnet/minecraft/class_2048$class_2049;field_33917:Lnet/minecraft/class_2048;
      named passenger Lnet/minecraft/predicate/entity/EntityPredicate$Builder;passenger:Lnet/minecraft/predicate/entity/EntityPredicate;
    • targetedEntity

      private EntityPredicate targetedEntity
      Mappings:
      Namespace Name Mixin selector
      official l Lbn$a;l:Lbn;
      intermediary field_24491 Lnet/minecraft/class_2048$class_2049;field_24491:Lnet/minecraft/class_2048;
      named targetedEntity Lnet/minecraft/predicate/entity/EntityPredicate$Builder;targetedEntity:Lnet/minecraft/predicate/entity/EntityPredicate;
    • team

      @Nullable private @Nullable String team
      Mappings:
      Namespace Name Mixin selector
      official m Lbn$a;m:Ljava/lang/String;
      intermediary field_20700 Lnet/minecraft/class_2048$class_2049;field_20700:Ljava/lang/String;
      named team Lnet/minecraft/predicate/entity/EntityPredicate$Builder;team:Ljava/lang/String;
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • create

      public static EntityPredicate.Builder create()
      Mappings:
      Namespace Name Mixin selector
      official a Lbn$a;a()Lbn$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 Lbn$a;a(Lbfl;)Lbn$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 Lbn$a;a(Lanv;)Lbn$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 Lbn$a;a(Lbp;)Lbn$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 Lbn$a;a(Lbe;)Lbn$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

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

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

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

      Mappings:
      Namespace Name Mixin selector
      official a Lbn$a;a(Lck;)Lbn$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 Lbn$a;a(Lbl;)Lbn$a;
      intermediary method_8919 Lnet/minecraft/class_2048$class_2049;method_8919(Lnet/minecraft/class_2040;)Lnet/minecraft/class_2048$class_2049;
      named flags Lnet/minecraft/predicate/entity/EntityPredicate$Builder;flags(Lnet/minecraft/predicate/entity/EntityFlagsPredicate;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
    • equipment

      public EntityPredicate.Builder equipment(EntityEquipmentPredicate equipment)
      Mappings:
      Namespace Name Mixin selector
      official a Lbn$a;a(Lbk;)Lbn$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 Lbn$a;a(Lbo;)Lbn$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

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

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

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

      Mappings:
      Namespace Name Mixin selector
      official a Lbn$a;a(Ljava/lang/String;)Lbn$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 Lbn$a;b()Lbn;
      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;