net.minecraft.predicate.entity

public class EntityPredicate

bg
net.minecraft.advancements.critereon.EntityPredicate
net.minecraft.class_2048
net.minecraft.predicate.entity.EntityPredicate
net.minecraft.unmapped.C_kvkvpjlm
net.minecraft.advancements.criterion.EntityPredicate
net.minecraft.advancements.criterion.EntityPredicate

Field summary

Modifier and TypeField
public static final EntityPredicate
a
ANY
field_9599
ANY
f_hameugqn
field_192483_a
ANY
private final EntityTypePredicate
b
entityType
field_9595
type
f_xozemqxy
field_192484_b
type
private final DistancePredicate
c
distanceToPlayer
field_9601
distance
f_tptkhefk
field_192485_c
distance
private final LocationPredicate
d
location
field_9596
location
f_eieyszej
field_193435_d
location
private final EntityEffectPredicate
e
effects
field_9594
effects
f_scvxyefk
field_193436_e
effects
private final NbtPredicate
f
nbt
field_9600
nbt
f_bysanlre
field_193437_f
nbt
private final EntityFlagsPredicate
g
flags
field_9597
flags
f_osweyokb
field_217994_h
flags
private final EntityEquipmentPredicate
h
equipment
field_16490
equipment
f_ycxvlbvr
field_217995_i
equipment
private final PlayerPredicate
i
player
field_20697
player
f_mcrflqtu
field_226609_j_
player
private final FishingHookPredicate
j
fishingHook
field_23135
fishingHook
f_usswpoim
field_234572_j_
fishingCondition
private final EntityPredicate
k
vehicle
field_24488
vehicle
f_yvrkjogt
field_234573_k_
mountCondition
private final EntityPredicate
l
targetedEntity
field_24489
targetedEntity
f_ggbragpd
field_234574_l_
targetCondition
private final String
m
team
field_20698
team
f_mxeamups
field_226610_k_
team
private final Identifier
n
catType
field_16317
catType
f_nnyolbqm
field_217996_j
catType

Constructor summary

ModifierConstructor
private (EntityTypePredicate arg0, DistancePredicate arg1, LocationPredicate arg2, EntityEffectPredicate arg3, NbtPredicate arg4, EntityFlagsPredicate arg5, EntityEquipmentPredicate arg6, PlayerPredicate arg7, FishingHookPredicate arg8, String arg9, Identifier arg10)
private (EntityTypePredicate type, DistancePredicate distance, LocationPredicate location, EntityEffectPredicate effects, NbtPredicate nbt, EntityFlagsPredicate flags, EntityEquipmentPredicate equipment, PlayerPredicate player, FishingHookPredicate fishingHook, EntityPredicate vehicle, EntityPredicate targetedEntity, String team, Identifier catType)

Method summary

Modifier and TypeMethod
public boolean
a(aah arg0, aqa arg1)
matches(ServerPlayer arg0, Entity arg1)
method_8914(class_3222 arg0, class_1297 arg1)
test(ServerPlayerEntity player, Entity entity)
m_txfawcdj(C_mxrobsgg arg0, C_astfners arg1)
func_192482_a(ServerPlayerEntity arg0, Entity arg1)
test(ServerPlayerEntity player, Entity entity)
public boolean
a(aag arg0, dcn arg1, aqa arg2)
matches(ServerLevel arg0, Vec3 arg1, Entity arg2)
method_8909(class_3218 arg0, class_243 arg1, class_1297 arg2)
test(ServerWorld world, Vec3d pos, Entity entity)
m_npdomabq(C_bdwnwhiu arg0, C_vgpupfxx arg1, C_astfners arg2)
func_217993_a(ServerWorld arg0, Vector3d arg1, Entity arg2)
test(ServerWorld world, Vector3d vector, Entity entity)
public static EntityPredicate
a(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement arg0)
method_8913(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement json)
m_betzqpgq(com.google.gson.JsonElement arg0)
func_192481_a(com.google.gson.JsonElement arg0)
deserialize(com.google.gson.JsonElement element)
public com.google.gson.JsonElement
a()
serializeToJson()
method_8912()
toJson()
m_cviarbxt()
func_204006_a()
serialize()
public static LootContext
b(aah arg0, aqa arg1)
createContext(ServerPlayer arg0, Entity arg1)
method_27802(class_3222 arg0, class_1297 arg1)
createAdvancementEntityLootContext(ServerPlayerEntity player, Entity target)
m_sqkvtqxf(C_mxrobsgg arg0, C_astfners arg1)
func_234575_b_(ServerPlayerEntity arg0, Entity arg1)
getLootContext(ServerPlayerEntity player, Entity entity)