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 bu$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 Lbu$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 Lbu$a;b: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_9604 Lnet/minecraft/class_2048$class_2049;field_9604:Ljava/util/Optional;
      official c Lbu$a;c: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 d Lbu$a;d: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 e Lbu$a;e: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 f Lbu$a;f: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 g Lbu$a;g: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 h Lbu$a;h: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 i Lbu$a;i: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 j Lbu$a;j: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 k Lbu$a;k: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 l Lbu$a;l: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 m Lbu$a;m: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 n Lbu$a;n: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 Lbu$a;a()Lbu$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 Lbu$a;a(Lbtb;)Lbu$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 Lbu$a;a(Laxf;)Lbu$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 Lbu$a;a(Lbx;)Lbu$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 Lbu$a;a(Lbl;)Lbu$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 Lbu$a;a(Ldc$a;)Lbu$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 Lbu$a;b(Ldc$a;)Lbu$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 Lbu$a;a(Ldf$a;)Lbu$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 Lbu$a;a(Ldg;)Lbu$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 Lbu$a;a(Lbs$a;)Lbu$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 Lbu$a;a(Lbr$a;)Lbu$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 Lbu$a;a(Lbr;)Lbu$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 Lbu$a;a(Lbv;)Lbu$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 Lbu$a;a(Lbu$a;)Lbu$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 Lbu$a;b(Lbu$a;)Lbu$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 Lbu$a;c(Lbu$a;)Lbu$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 Lbu$a;a(Ljava/lang/String;)Lbu$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 Lbu$a;a(Ldv;)Lbu$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 Lbu$a;b()Lbu;