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 bg$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 Lbg$a;a:Lbh;
      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 Lbg$a;b:Lay;
      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 Lbg$a;c:Lbw;
      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;
    • effects

      private EntityEffectPredicate effects
      Mappings:
      Namespace Name Mixin selector
      official d Lbg$a;d:Lca;
      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 e Lbg$a;e:Lcb;
      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 f Lbg$a;f:Lbe;
      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 g Lbg$a;g:Lbd;
      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;
    • player

      private PlayerPredicate player
      Mappings:
      Namespace Name Mixin selector
      official h Lbg$a;h:Lcg;
      intermediary field_20699 Lnet/minecraft/class_2048$class_2049;field_20699:Lnet/minecraft/class_4553;
      named player Lnet/minecraft/predicate/entity/EntityPredicate$Builder;player:Lnet/minecraft/predicate/PlayerPredicate;
    • fishHook

      private FishingHookPredicate fishHook
      Mappings:
      Namespace Name Mixin selector
      official i Lbg$a;i:Lbj;
      intermediary field_23136 Lnet/minecraft/class_2048$class_2049;field_23136:Lnet/minecraft/class_4965;
      named fishHook Lnet/minecraft/predicate/entity/EntityPredicate$Builder;fishHook:Lnet/minecraft/predicate/entity/FishingHookPredicate;
    • vehicle

      private EntityPredicate vehicle
      Mappings:
      Namespace Name Mixin selector
      official j Lbg$a;j:Lbg;
      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;
    • targetedEntity

      private EntityPredicate targetedEntity
      Mappings:
      Namespace Name Mixin selector
      official k Lbg$a;k:Lbg;
      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

      private String team
      Mappings:
      Namespace Name Mixin selector
      official l Lbg$a;l: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;
    • catType

      private Identifier catType
      Mappings:
      Namespace Name Mixin selector
      official m Lbg$a;m:Lwb;
      intermediary field_16318 Lnet/minecraft/class_2048$class_2049;field_16318:Lnet/minecraft/class_2960;
      named catType Lnet/minecraft/predicate/entity/EntityPredicate$Builder;catType:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • create

      public static EntityPredicate.Builder create()
      Mappings:
      Namespace Name Mixin selector
      official a Lbg$a;a()Lbg$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 Lbg$a;a(Laqz;)Lbg$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​(Tag<EntityType<?>> tag)
      Mappings:
      Namespace Name Mixin selector
      official a Lbg$a;a(Lafc;)Lbg$a;
      intermediary method_8922 Lnet/minecraft/class_2048$class_2049;method_8922(Lnet/minecraft/class_3494;)Lnet/minecraft/class_2048$class_2049;
      named type Lnet/minecraft/predicate/entity/EntityPredicate$Builder;type(Lnet/minecraft/tag/Tag;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
    • type

      public EntityPredicate.Builder type​(Identifier catType)
      Mappings:
      Namespace Name Mixin selector
      official a Lbg$a;a(Lwb;)Lbg$a;
      intermediary method_16113 Lnet/minecraft/class_2048$class_2049;method_16113(Lnet/minecraft/class_2960;)Lnet/minecraft/class_2048$class_2049;
      named type Lnet/minecraft/predicate/entity/EntityPredicate$Builder;type(Lnet/minecraft/util/Identifier;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
    • type

      Mappings:
      Namespace Name Mixin selector
      official a Lbg$a;a(Lbh;)Lbg$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 Lbg$a;a(Lay;)Lbg$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 Lbg$a;a(Lbw;)Lbg$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;
    • effects

      public EntityPredicate.Builder effects​(EntityEffectPredicate effects)
      Mappings:
      Namespace Name Mixin selector
      official a Lbg$a;a(Lca;)Lbg$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 Lbg$a;a(Lcb;)Lbg$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 Lbg$a;a(Lbe;)Lbg$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 Lbg$a;a(Lbd;)Lbg$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;
    • player

      public EntityPredicate.Builder player​(PlayerPredicate player)
      Mappings:
      Namespace Name Mixin selector
      official a Lbg$a;a(Lcg;)Lbg$a;
      intermediary method_22469 Lnet/minecraft/class_2048$class_2049;method_22469(Lnet/minecraft/class_4553;)Lnet/minecraft/class_2048$class_2049;
      named player Lnet/minecraft/predicate/entity/EntityPredicate$Builder;player(Lnet/minecraft/predicate/PlayerPredicate;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
    • fishHook

      public EntityPredicate.Builder fishHook​(FishingHookPredicate fishHook)
      Mappings:
      Namespace Name Mixin selector
      official a Lbg$a;a(Lbj;)Lbg$a;
      intermediary method_26090 Lnet/minecraft/class_2048$class_2049;method_26090(Lnet/minecraft/class_4965;)Lnet/minecraft/class_2048$class_2049;
      named fishHook Lnet/minecraft/predicate/entity/EntityPredicate$Builder;fishHook(Lnet/minecraft/predicate/entity/FishingHookPredicate;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
    • vehicle

      public EntityPredicate.Builder vehicle​(EntityPredicate vehicle)
      Mappings:
      Namespace Name Mixin selector
      official a Lbg$a;a(Lbg;)Lbg$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;
    • targetedEntity

      public EntityPredicate.Builder targetedEntity​(EntityPredicate targetedEntity)
      Mappings:
      Namespace Name Mixin selector
      official b Lbg$a;b(Lbg;)Lbg$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

      public EntityPredicate.Builder team​(@Nullable String team)
      Mappings:
      Namespace Name Mixin selector
      official a Lbg$a;a(Ljava/lang/String;)Lbg$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;
    • catType

      public EntityPredicate.Builder catType​(@Nullable Identifier catType)
      Mappings:
      Namespace Name Mixin selector
      official b Lbg$a;b(Lwb;)Lbg$a;
      intermediary method_16112 Lnet/minecraft/class_2048$class_2049;method_16112(Lnet/minecraft/class_2960;)Lnet/minecraft/class_2048$class_2049;
      named catType Lnet/minecraft/predicate/entity/EntityPredicate$Builder;catType(Lnet/minecraft/util/Identifier;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
    • build

      public EntityPredicate build()
      Mappings:
      Namespace Name Mixin selector
      official b Lbg$a;b()Lbg;
      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;