Package net.minecraft.predicate.entity
Class EntityPredicate
java.lang.Object
net.minecraft.predicate.entity.EntityPredicate
- Mappings:
Namespace Name official bo
intermediary net/minecraft/class_2048
named net/minecraft/predicate/entity/EntityPredicate
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final EntityPredicate
private final @Nullable Identifier
private final DistancePredicate
private final EntityEffectPredicate
private final EntityEquipmentPredicate
private final FishingHookPredicate
private final EntityFlagsPredicate
private final LightningBoltPredicate
private final LocationPredicate
private final NbtPredicate
private final EntityPredicate
private final PlayerPredicate
private final LocationPredicate
private final EntityPredicate
private final EntityTypePredicate
private final EntityPredicate
-
Constructor Summary
ModifierConstructorDescriptionprivate
EntityPredicate
(EntityTypePredicate type, DistancePredicate distance, LocationPredicate location, LocationPredicate steppingOn, EntityEffectPredicate effects, NbtPredicate nbt, EntityFlagsPredicate flags, EntityEquipmentPredicate equipment, PlayerPredicate player, FishingHookPredicate fishingHook, LightningBoltPredicate lightningBolt, @Nullable String team, @Nullable Identifier catType) (package private)
EntityPredicate
(EntityTypePredicate type, DistancePredicate distance, LocationPredicate location, LocationPredicate steppingOn, EntityEffectPredicate effects, NbtPredicate nbt, EntityFlagsPredicate flags, EntityEquipmentPredicate equipment, PlayerPredicate player, FishingHookPredicate fishingHook, LightningBoltPredicate lightningBolt, EntityPredicate vehicle, EntityPredicate passenger, EntityPredicate targetedEntity, @Nullable String team, @Nullable Identifier catType) -
Method Summary
Modifier and TypeMethodDescriptionstatic LootContext
createAdvancementEntityLootContext
(ServerPlayerEntity player, Entity target) static EntityPredicate
fromJson
(@Nullable JsonElement json) boolean
test
(ServerPlayerEntity player, @Nullable Entity entity) boolean
toJson()
-
Field Details
-
ANY
- Mappings:
Namespace Name Mixin selector official a
Lbo;a:Lbo;
intermediary field_9599
Lnet/minecraft/class_2048;field_9599:Lnet/minecraft/class_2048;
named ANY
Lnet/minecraft/predicate/entity/EntityPredicate;ANY:Lnet/minecraft/predicate/entity/EntityPredicate;
-
type
- Mappings:
Namespace Name Mixin selector official b
Lbo;b:Lbp;
intermediary field_9595
Lnet/minecraft/class_2048;field_9595:Lnet/minecraft/class_2050;
named type
Lnet/minecraft/predicate/entity/EntityPredicate;type:Lnet/minecraft/predicate/entity/EntityTypePredicate;
-
distance
- Mappings:
Namespace Name Mixin selector official c
Lbo;c:Lbf;
intermediary field_9601
Lnet/minecraft/class_2048;field_9601:Lnet/minecraft/class_2025;
named distance
Lnet/minecraft/predicate/entity/EntityPredicate;distance:Lnet/minecraft/predicate/entity/DistancePredicate;
-
location
- Mappings:
Namespace Name Mixin selector official d
Lbo;d:Lcg;
intermediary field_9596
Lnet/minecraft/class_2048;field_9596:Lnet/minecraft/class_2090;
named location
Lnet/minecraft/predicate/entity/EntityPredicate;location:Lnet/minecraft/predicate/entity/LocationPredicate;
-
steppingOn
- Mappings:
Namespace Name Mixin selector official e
Lbo;e:Lcg;
intermediary field_33912
Lnet/minecraft/class_2048;field_33912:Lnet/minecraft/class_2090;
named steppingOn
Lnet/minecraft/predicate/entity/EntityPredicate;steppingOn:Lnet/minecraft/predicate/entity/LocationPredicate;
-
effects
- Mappings:
Namespace Name Mixin selector official f
Lbo;f:Lck;
intermediary field_9594
Lnet/minecraft/class_2048;field_9594:Lnet/minecraft/class_2102;
named effects
Lnet/minecraft/predicate/entity/EntityPredicate;effects:Lnet/minecraft/predicate/entity/EntityEffectPredicate;
-
nbt
- Mappings:
Namespace Name Mixin selector official g
Lbo;g:Lcl;
intermediary field_9600
Lnet/minecraft/class_2048;field_9600:Lnet/minecraft/class_2105;
named nbt
Lnet/minecraft/predicate/entity/EntityPredicate;nbt:Lnet/minecraft/predicate/NbtPredicate;
-
flags
- Mappings:
Namespace Name Mixin selector official h
Lbo;h:Lbm;
intermediary field_9597
Lnet/minecraft/class_2048;field_9597:Lnet/minecraft/class_2040;
named flags
Lnet/minecraft/predicate/entity/EntityPredicate;flags:Lnet/minecraft/predicate/entity/EntityFlagsPredicate;
-
equipment
- Mappings:
Namespace Name Mixin selector official i
Lbo;i:Lbl;
intermediary field_16490
Lnet/minecraft/class_2048;field_16490:Lnet/minecraft/class_3735;
named equipment
Lnet/minecraft/predicate/entity/EntityPredicate;equipment:Lnet/minecraft/predicate/entity/EntityEquipmentPredicate;
-
player
- Mappings:
Namespace Name Mixin selector official j
Lbo;j:Lcp;
intermediary field_20697
Lnet/minecraft/class_2048;field_20697:Lnet/minecraft/class_4553;
named player
Lnet/minecraft/predicate/entity/EntityPredicate;player:Lnet/minecraft/predicate/PlayerPredicate;
-
fishingHook
- Mappings:
Namespace Name Mixin selector official k
Lbo;k:Lbr;
intermediary field_23135
Lnet/minecraft/class_2048;field_23135:Lnet/minecraft/class_4965;
named fishingHook
Lnet/minecraft/predicate/entity/EntityPredicate;fishingHook:Lnet/minecraft/predicate/entity/FishingHookPredicate;
-
lightningBolt
- Mappings:
Namespace Name Mixin selector official l
Lbo;l:Lce;
intermediary field_33913
Lnet/minecraft/class_2048;field_33913:Lnet/minecraft/class_6404;
named lightningBolt
Lnet/minecraft/predicate/entity/EntityPredicate;lightningBolt:Lnet/minecraft/predicate/entity/LightningBoltPredicate;
-
vehicle
- Mappings:
Namespace Name Mixin selector official m
Lbo;m:Lbo;
intermediary field_24488
Lnet/minecraft/class_2048;field_24488:Lnet/minecraft/class_2048;
named vehicle
Lnet/minecraft/predicate/entity/EntityPredicate;vehicle:Lnet/minecraft/predicate/entity/EntityPredicate;
-
passenger
- Mappings:
Namespace Name Mixin selector official n
Lbo;n:Lbo;
intermediary field_33914
Lnet/minecraft/class_2048;field_33914:Lnet/minecraft/class_2048;
named passenger
Lnet/minecraft/predicate/entity/EntityPredicate;passenger:Lnet/minecraft/predicate/entity/EntityPredicate;
-
targetedEntity
- Mappings:
Namespace Name Mixin selector official o
Lbo;o:Lbo;
intermediary field_24489
Lnet/minecraft/class_2048;field_24489:Lnet/minecraft/class_2048;
named targetedEntity
Lnet/minecraft/predicate/entity/EntityPredicate;targetedEntity:Lnet/minecraft/predicate/entity/EntityPredicate;
-
team
- Mappings:
Namespace Name Mixin selector official p
Lbo;p:Ljava/lang/String;
intermediary field_20698
Lnet/minecraft/class_2048;field_20698:Ljava/lang/String;
named team
Lnet/minecraft/predicate/entity/EntityPredicate;team:Ljava/lang/String;
-
catType
- Mappings:
Namespace Name Mixin selector official q
Lbo;q:Lyh;
intermediary field_16317
Lnet/minecraft/class_2048;field_16317:Lnet/minecraft/class_2960;
named catType
Lnet/minecraft/predicate/entity/EntityPredicate;catType:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
EntityPredicate
private EntityPredicate(EntityTypePredicate type, DistancePredicate distance, LocationPredicate location, LocationPredicate steppingOn, EntityEffectPredicate effects, NbtPredicate nbt, EntityFlagsPredicate flags, EntityEquipmentPredicate equipment, PlayerPredicate player, FishingHookPredicate fishingHook, LightningBoltPredicate lightningBolt, @Nullable @Nullable String team, @Nullable @Nullable Identifier catType) - Mappings:
Namespace Name Mixin selector official <init>
Lbo;<init>(Lbp;Lbf;Lcg;Lcg;Lck;Lcl;Lbm;Lbl;Lcp;Lbr;Lce;Ljava/lang/String;Lyh;)V
intermediary <init>
Lnet/minecraft/class_2048;<init>(Lnet/minecraft/class_2050;Lnet/minecraft/class_2025;Lnet/minecraft/class_2090;Lnet/minecraft/class_2090;Lnet/minecraft/class_2102;Lnet/minecraft/class_2105;Lnet/minecraft/class_2040;Lnet/minecraft/class_3735;Lnet/minecraft/class_4553;Lnet/minecraft/class_4965;Lnet/minecraft/class_6404;Ljava/lang/String;Lnet/minecraft/class_2960;)V
named <init>
Lnet/minecraft/predicate/entity/EntityPredicate;<init>(Lnet/minecraft/predicate/entity/EntityTypePredicate;Lnet/minecraft/predicate/entity/DistancePredicate;Lnet/minecraft/predicate/entity/LocationPredicate;Lnet/minecraft/predicate/entity/LocationPredicate;Lnet/minecraft/predicate/entity/EntityEffectPredicate;Lnet/minecraft/predicate/NbtPredicate;Lnet/minecraft/predicate/entity/EntityFlagsPredicate;Lnet/minecraft/predicate/entity/EntityEquipmentPredicate;Lnet/minecraft/predicate/PlayerPredicate;Lnet/minecraft/predicate/entity/FishingHookPredicate;Lnet/minecraft/predicate/entity/LightningBoltPredicate;Ljava/lang/String;Lnet/minecraft/util/Identifier;)V
-
EntityPredicate
EntityPredicate(EntityTypePredicate type, DistancePredicate distance, LocationPredicate location, LocationPredicate steppingOn, EntityEffectPredicate effects, NbtPredicate nbt, EntityFlagsPredicate flags, EntityEquipmentPredicate equipment, PlayerPredicate player, FishingHookPredicate fishingHook, LightningBoltPredicate lightningBolt, EntityPredicate vehicle, EntityPredicate passenger, EntityPredicate targetedEntity, @Nullable @Nullable String team, @Nullable @Nullable Identifier catType) - Mappings:
Namespace Name Mixin selector official <init>
Lbo;<init>(Lbp;Lbf;Lcg;Lcg;Lck;Lcl;Lbm;Lbl;Lcp;Lbr;Lce;Lbo;Lbo;Lbo;Ljava/lang/String;Lyh;)V
intermediary <init>
Lnet/minecraft/class_2048;<init>(Lnet/minecraft/class_2050;Lnet/minecraft/class_2025;Lnet/minecraft/class_2090;Lnet/minecraft/class_2090;Lnet/minecraft/class_2102;Lnet/minecraft/class_2105;Lnet/minecraft/class_2040;Lnet/minecraft/class_3735;Lnet/minecraft/class_4553;Lnet/minecraft/class_4965;Lnet/minecraft/class_6404;Lnet/minecraft/class_2048;Lnet/minecraft/class_2048;Lnet/minecraft/class_2048;Ljava/lang/String;Lnet/minecraft/class_2960;)V
named <init>
Lnet/minecraft/predicate/entity/EntityPredicate;<init>(Lnet/minecraft/predicate/entity/EntityTypePredicate;Lnet/minecraft/predicate/entity/DistancePredicate;Lnet/minecraft/predicate/entity/LocationPredicate;Lnet/minecraft/predicate/entity/LocationPredicate;Lnet/minecraft/predicate/entity/EntityEffectPredicate;Lnet/minecraft/predicate/NbtPredicate;Lnet/minecraft/predicate/entity/EntityFlagsPredicate;Lnet/minecraft/predicate/entity/EntityEquipmentPredicate;Lnet/minecraft/predicate/PlayerPredicate;Lnet/minecraft/predicate/entity/FishingHookPredicate;Lnet/minecraft/predicate/entity/LightningBoltPredicate;Lnet/minecraft/predicate/entity/EntityPredicate;Lnet/minecraft/predicate/entity/EntityPredicate;Lnet/minecraft/predicate/entity/EntityPredicate;Ljava/lang/String;Lnet/minecraft/util/Identifier;)V
-
-
Method Details
-
test
- Mappings:
Namespace Name Mixin selector official a
Lbo;a(Ladj;Lawt;)Z
intermediary method_8914
Lnet/minecraft/class_2048;method_8914(Lnet/minecraft/class_3222;Lnet/minecraft/class_1297;)Z
named test
Lnet/minecraft/predicate/entity/EntityPredicate;test(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/Entity;)Z
-
test
public boolean test(ServerWorld world, @Nullable @Nullable Vec3d pos, @Nullable @Nullable Entity entity) - Mappings:
Namespace Name Mixin selector official a
Lbo;a(Ladi;Ldom;Lawt;)Z
intermediary method_8909
Lnet/minecraft/class_2048;method_8909(Lnet/minecraft/class_3218;Lnet/minecraft/class_243;Lnet/minecraft/class_1297;)Z
named test
Lnet/minecraft/predicate/entity/EntityPredicate;test(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/entity/Entity;)Z
-
fromJson
- Mappings:
Namespace Name Mixin selector official a
Lbo;a(Lcom/google/gson/JsonElement;)Lbo;
intermediary method_8913
Lnet/minecraft/class_2048;method_8913(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_2048;
named fromJson
Lnet/minecraft/predicate/entity/EntityPredicate;fromJson(Lcom/google/gson/JsonElement;)Lnet/minecraft/predicate/entity/EntityPredicate;
-
toJson
- Mappings:
Namespace Name Mixin selector official a
Lbo;a()Lcom/google/gson/JsonElement;
intermediary method_8912
Lnet/minecraft/class_2048;method_8912()Lcom/google/gson/JsonElement;
named toJson
Lnet/minecraft/predicate/entity/EntityPredicate;toJson()Lcom/google/gson/JsonElement;
-
createAdvancementEntityLootContext
public static LootContext createAdvancementEntityLootContext(ServerPlayerEntity player, Entity target) - Mappings:
Namespace Name Mixin selector official b
Lbo;b(Ladj;Lawt;)Ldka;
intermediary method_27802
Lnet/minecraft/class_2048;method_27802(Lnet/minecraft/class_3222;Lnet/minecraft/class_1297;)Lnet/minecraft/class_47;
named createAdvancementEntityLootContext
Lnet/minecraft/predicate/entity/EntityPredicate;createAdvancementEntityLootContext(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/Entity;)Lnet/minecraft/loot/context/LootContext;
-