net.minecraft.advancements.critereon

public class EntityPredicate

bo
net.minecraft.advancements.critereon.EntityPredicate
net.minecraft.class_2048
net.minecraft.predicate.entity.EntityPredicate
net.minecraft.src.C_1147_
net.minecraft.advancements.critereon.CriterionConditionEntity

Field summary

Modifier and TypeField
public static final EntityPredicate
a
ANY
field_9599
ANY
f_36550_
private final EntityTypePredicate
b
entityType
field_9595
type
f_36551_
private final DistancePredicate
c
distanceToPlayer
field_9601
distance
f_36552_
private final LocationPredicate
d
location
field_9596
location
f_36553_
private final LocationPredicate
e
steppingOnLocation
field_33912
steppingOn
f_150285_
private final MobEffectsPredicate
f
effects
field_9594
effects
f_36554_
private final NbtPredicate
g
nbt
field_9600
nbt
f_36555_
private final EntityFlagsPredicate
h
flags
field_9597
flags
f_36556_
private final EntityEquipmentPredicate
i
equipment
field_16490
equipment
f_36557_
private final PlayerPredicate
j
player
field_20697
player
f_36558_
private final FishingHookPredicate
k
fishingHook
field_23135
fishingHook
f_36559_
private final LighthingBoltPredicate
l
lighthingBolt
field_33913
lightningBolt
f_150286_
private final EntityPredicate
m
vehicle
field_24488
vehicle
f_36560_
private final EntityPredicate
n
passenger
field_33914
passenger
f_150287_
private final EntityPredicate
o
targetedEntity
field_24489
targetedEntity
f_36561_
private final String
p
team
field_20698
team
f_36562_
private final ResourceLocation
q
catType
field_16317
catType
f_36563_

Constructor summary

ModifierConstructor
private (EntityTypePredicate type, DistancePredicate distance, LocationPredicate location, LocationPredicate steppingOn, MobEffectsPredicate effects, NbtPredicate nbt, EntityFlagsPredicate flags, EntityEquipmentPredicate equipment, PlayerPredicate player, FishingHookPredicate fishingHook, LighthingBoltPredicate lightningBolt, String team, ResourceLocation catType)
(EntityTypePredicate type, DistancePredicate distance, LocationPredicate location, LocationPredicate steppingOn, MobEffectsPredicate effects, NbtPredicate nbt, EntityFlagsPredicate flags, EntityEquipmentPredicate equipment, PlayerPredicate player, FishingHookPredicate fishingHook, LighthingBoltPredicate lightningBolt, EntityPredicate vehicle, EntityPredicate passenger, EntityPredicate targetedEntity, String team, ResourceLocation catType)

Method summary

Modifier and TypeMethod
public boolean
a(adx arg0, axk arg1)
matches(ServerPlayer arg0, Entity arg1)
method_8914(class_3222 arg0, class_1297 arg1)
test(ServerPlayerEntity player, Entity entity)
m_36611_(C_13_ p_36613_, C_507_ arg1)
public boolean
a(adw arg0, dpo arg1, axk 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_36607_(C_12_ p_36609_, C_3046_ p_36610_, C_507_ arg2)
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_36614_(com.google.gson.JsonElement p_36615_)
public com.google.gson.JsonElement
a()
serializeToJson()
method_8912()
toJson()
m_36606_()
public static LootContext
b(adx arg0, axk arg1)
createContext(ServerPlayer arg0, Entity arg1)
method_27802(class_3222 arg0, class_1297 arg1)
createAdvancementEntityLootContext(ServerPlayerEntity player, Entity target)
m_36616_(C_13_ p_36617_, C_507_ p_36618_)