net.minecraft.advancements.critereon

public class EntityPredicate

be
net.minecraft.advancements.critereon.EntityPredicate
net.minecraft.class_2048
net.minecraft.predicate.entity.EntityPredicate
net.minecraft.advancements.criterion.EntityPredicate
net.minecraft.server.v1_16_R1.CriterionConditionEntity

Field summary

Modifier and TypeField
public static final EntityPredicate
a
ANY
field_9599
ANY
field_192483_a
private final EntityTypePredicate
b
entityType
field_9595
type
field_192484_b
private final DistancePredicate
c
distanceToPlayer
field_9601
distance
field_192485_c
private final LocationPredicate
d
location
field_9596
location
field_193435_d
private final MobEffectsPredicate
e
effects
field_9594
effects
field_193436_e
private final NbtPredicate
f
nbt
field_9600
nbt
field_193437_f
private final EntityFlagsPredicate
g
flags
field_9597
flags
field_217994_h
private final EntityEquipmentPredicate
h
equipment
field_16490
equipment
field_217995_i
private final PlayerPredicate
i
player
field_20697
player
field_226609_j_
private final FishingHookPredicate
j
fishingHook
field_23135
fishingHook
field_234572_j_
private final EntityPredicate
k
vehicle
field_24488
vehicle
field_234573_k_
private final EntityPredicate
l
targetedEntity
field_24489
targetedEntity
field_234574_l_
private final String
m
team
field_20698
team
field_226610_k_
private final ResourceLocation
n
catType
field_16317
catType
field_217996_j

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(ze arg0, aom arg1)
matches(ServerPlayer arg0, Entity arg1)
method_8914(class_3222 arg0, class_1297 arg1)
test(ServerPlayerEntity player, Entity entity)
func_192482_a(ServerPlayerEntity arg0, Entity arg1)
public boolean
a(zd arg0, dem arg1, aom 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)
func_217993_a(ServerWorld arg0, Vector3d 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 json)
func_192481_a(com.google.gson.JsonElement arg0)
public com.google.gson.JsonElement
a()
serializeToJson()
method_8912()
toJson()
func_204006_a()
public static LootContext
b(ze arg0, aom arg1)
createContext(ServerPlayer arg0, Entity arg1)
method_27802(class_3222 arg0, class_1297 arg1)
createAdvancementEntityLootContext(ServerPlayerEntity player, Entity target)
func_234575_b_(ServerPlayerEntity arg0, Entity arg1)