Package net.minecraft.predicate.entity
Class EntityPredicate.Builder
java.lang.Object
net.minecraft.predicate.entity.EntityPredicate.Builder
- Enclosing class:
EntityPredicate
- Mappings:
Namespace Name named net/minecraft/predicate/entity/EntityPredicate$Builder
intermediary net/minecraft/class_2048$class_2049
official bw$a
-
Field Summary
Modifier and TypeFieldDescriptionprivate Optional
<DistancePredicate> private Optional
<EntityEffectPredicate> private Optional
<EntityEquipmentPredicate> private Optional
<EntityFlagsPredicate> private Optional
<LocationPredicate> private Optional
<MovementPredicate> private Optional
<LocationPredicate> private Optional
<NbtPredicate> private Optional
<EntityPredicate> private Optional
<SlotsPredicate> private Optional
<LocationPredicate> private Optional
<EntityPredicate> private Optional
<EntityTypePredicate> private Optional
<EntitySubPredicate> private Optional
<EntityPredicate> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static EntityPredicate.Builder
create()
distance
(DistancePredicate distance) effects
(EntityEffectPredicate.Builder effects) equipment
(EntityEquipmentPredicate equipment) equipment
(EntityEquipmentPredicate.Builder equipment) location
(LocationPredicate.Builder location) movement
(MovementPredicate movement) movementAffectedBy
(LocationPredicate.Builder movementAffectedBy) nbt
(NbtPredicate nbt) passenger
(EntityPredicate.Builder passenger) periodicTick
(int periodicTick) slots
(SlotsPredicate slots) steppingOn
(LocationPredicate.Builder steppingOn) targetedEntity
(EntityPredicate.Builder targetedEntity) type
(EntityTypePredicate type) type
(RegistryEntryLookup<EntityType<?>> entityTypeRegistry, EntityType<?> type) type
(RegistryEntryLookup<EntityType<?>> entityTypeRegistry, TagKey<EntityType<?>> tag) typeSpecific
(EntitySubPredicate typeSpecific) vehicle
(EntityPredicate.Builder vehicle)
-
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
Lbw$a;a:Ljava/util/Optional;
-
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
Lbw$a;b:Ljava/util/Optional;
-
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 c
Lbw$a;c:Ljava/util/Optional;
-
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 d
Lbw$a;d:Ljava/util/Optional;
-
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 e
Lbw$a;e:Ljava/util/Optional;
-
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 f
Lbw$a;f:Ljava/util/Optional;
-
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 g
Lbw$a;g:Ljava/util/Optional;
-
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 h
Lbw$a;h: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 i
Lbw$a;i:Ljava/util/Optional;
-
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 j
Lbw$a;j:Ljava/util/Optional;
-
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 k
Lbw$a;k:Ljava/util/Optional;
-
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 l
Lbw$a;l:Ljava/util/Optional;
-
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 m
Lbw$a;m:Ljava/util/Optional;
-
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 n
Lbw$a;n:Ljava/util/Optional;
-
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 o
Lbw$a;o:Ljava/util/Optional;
-
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 p
Lbw$a;p:Ljava/util/Optional;
-
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 q
Lbw$a;q:Ljava/util/Optional;
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
Lbw$a;a()Lbw$a;
-
type
public EntityPredicate.Builder type(RegistryEntryLookup<EntityType<?>> entityTypeRegistry, EntityType<?> type) - Mappings:
Namespace Name Mixin selector named type
Lnet/minecraft/predicate/entity/EntityPredicate$Builder;type(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/entity/EntityType;)Lnet/minecraft/predicate/entity/EntityPredicate$Builder;
intermediary method_8921
Lnet/minecraft/class_2048$class_2049;method_8921(Lnet/minecraft/class_7871;Lnet/minecraft/class_1299;)Lnet/minecraft/class_2048$class_2049;
official a
Lbw$a;a(Ljr;Lbvq;)Lbw$a;
-
type
public EntityPredicate.Builder type(RegistryEntryLookup<EntityType<?>> entityTypeRegistry, TagKey<EntityType<?>> tag) - Mappings:
Namespace Name Mixin selector named type
Lnet/minecraft/predicate/entity/EntityPredicate$Builder;type(Lnet/minecraft/registry/RegistryEntryLookup;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_7871;Lnet/minecraft/class_6862;)Lnet/minecraft/class_2048$class_2049;
official a
Lbw$a;a(Ljr;Layk;)Lbw$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
Lbw$a;a(Lbz;)Lbw$a;
-
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
Lbw$a;a(Lbn;)Lbw$a;
-
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
Lbw$a;a(Ldl;)Lbw$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
Lbw$a;a(Ldh$a;)Lbw$a;
-
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
Lbw$a;b(Ldh$a;)Lbw$a;
-
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
Lbw$a;c(Ldh$a;)Lbw$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
Lbw$a;a(Ldk$a;)Lbw$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
Lbw$a;a(Ldm;)Lbw$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
Lbw$a;a(Lbu$a;)Lbw$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
Lbw$a;a(Lbt$a;)Lbw$a;
-
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
Lbw$a;a(Lbt;)Lbw$a;
-
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
Lbw$a;a(Lbx;)Lbw$a;
-
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
Lbw$a;a(I)Lbw$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
Lbw$a;a(Lbw$a;)Lbw$a;
-
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
Lbw$a;b(Lbw$a;)Lbw$a;
-
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
Lbw$a;c(Lbw$a;)Lbw$a;
-
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
Lbw$a;a(Ljava/lang/String;)Lbw$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
Lbw$a;a(Lec;)Lbw$a;
-
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
Lbw$a;b()Lbw;
-