net.minecraft.advancements.critereon

public class EntityPredicate

av
net.minecraft.advancements.critereon.EntityPredicate
net.minecraft.class_2048
net.minecraft.predicate.entity.EntityPredicate
net.minecraft.advancements.criterion.EntityPredicate
net.minecraft.server.v1_14_R1.CriterionConditionEntity

Field summary

Modifier and TypeField
public static final EntityPredicate
a
ANY
field_9599
ANY
field_192483_a
public static final EntityPredicate[]
b
ANY_ARRAY
field_9598
EMPTY
field_204851_b
private final EntityTypePredicate
c
entityType
field_9595
type
field_192484_b
private final DistancePredicate
d
distanceToPlayer
field_9601
distance
field_192485_c
private final LocationPredicate
e
location
field_9596
location
field_193435_d
private final MobEffectsPredicate
f
effects
field_9594
effects
field_193436_e
private final NbtPredicate
g
nbt
field_9600
nbt
field_193437_f
private final EntityFlagsPredicate
h
flags
field_9597
flags
field_217994_h
private final EntityEquipmentPredicate
i
equipment
field_16490
equipment
field_217995_i
private final ResourceLocation
j
catType
field_16317
catType
field_217996_j

Constructor summary

ModifierConstructor
private (EntityTypePredicate type, DistancePredicate distance, LocationPredicate location, MobEffectsPredicate effects, NbtPredicate nbt, EntityFlagsPredicate flags, EntityEquipmentPredicate equipment, ResourceLocation arg7)

Method summary

Modifier and TypeMethod
public boolean
a(vl arg0, aio arg1)
matches(ServerPlayer arg0, Entity arg1)
method_8914(class_3222 arg0, class_1297 arg1)
test(ServerPlayerEntity player, Entity arg1)
func_192482_a(ServerPlayerEntity arg0, Entity arg1)
public boolean
a(vk arg0, csi arg1, aio 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 arg2)
func_217993_a(ServerWorld arg0, Vec3d arg1, Entity 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 el)
func_192481_a(com.google.gson.JsonElement arg0)
public static EntityPredicate[]
b(com.google.gson.JsonElement arg0)
fromJsonArray(com.google.gson.JsonElement arg0)
method_8910(com.google.gson.JsonElement arg0)
fromJsonArray(com.google.gson.JsonElement element)
func_204849_b(com.google.gson.JsonElement arg0)
public com.google.gson.JsonElement
a()
serializeToJson()
method_8912()
serialize()
func_204006_a()
public static com.google.gson.JsonElement
a(av[] arg0)
serializeArrayToJson(EntityPredicate[] arg0)
method_8911(class_2048[] arg0)
serializeAll(EntityPredicate[] predicates)
func_204850_a(EntityPredicate[] arg0)