net.minecraft.advancements.critereon

public class EntityPredicate

bn
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 EntitySubPredicate
j
subPredicate
field_38721
typeSpecific
f_218773_
private final EntityPredicate
k
vehicle
field_24488
vehicle
f_36560_
private final EntityPredicate
l
passenger
field_33914
passenger
f_150287_
private final EntityPredicate
m
targetedEntity
field_24489
targetedEntity
f_36561_
private final String
n
team
field_20698
team
f_36562_

Constructor summary

ModifierConstructor
private (EntityTypePredicate type, DistancePredicate distance, LocationPredicate location, LocationPredicate steppingOn, MobEffectsPredicate effects, NbtPredicate nbt, EntityFlagsPredicate flags, EntityEquipmentPredicate equipment, EntitySubPredicate typeSpecific, String team)
(EntityTypePredicate type, DistancePredicate distance, LocationPredicate location, LocationPredicate steppingOn, MobEffectsPredicate effects, NbtPredicate nbt, EntityFlagsPredicate flags, EntityEquipmentPredicate equipment, EntitySubPredicate typeSpecific, EntityPredicate vehicle, EntityPredicate passenger, EntityPredicate targetedEntity, String team)

Method summary

Modifier and TypeMethod
public boolean
a(aiq arg0, bfh 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(aip arg0, ede arg1, bfh 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(aiq arg0, bfh 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_)