net.minecraft.advancements.critereon

public class EntityFlagsPredicate

az
net.minecraft.advancements.critereon.EntityFlagsPredicate
net.minecraft.class_2040
net.minecraft.predicate.entity.EntityFlagsPredicate
net.minecraft.advancements.criterion.EntityFlagsPredicate
net.minecraft.server.v1_15_R1.CriterionConditionEntityFlags

Field summary

Modifier and TypeField
public static final EntityFlagsPredicate
a
ANY
field_9581
ANY
field_217979_a
private final Boolean
b
isOnFire
field_9580
isOnFire
field_217980_b
private final Boolean
c
isCrouching
field_9582
isSneaking
field_226569_c_
private final Boolean
d
isSprinting
field_9579
isSprinting
field_217982_d
private final Boolean
e
isSwimming
field_9578
isSwimming
field_217983_e
private final Boolean
f
isBaby
field_9583
isBaby
field_217984_f

Constructor summary

ModifierConstructor
public (Boolean isOnFire, Boolean isSneaking, Boolean isSprinting, Boolean isSwimming, Boolean arg4)

Method summary

Modifier and TypeMethod
public boolean
a(akn arg0)
matches(Entity arg0)
method_8892(class_1297 arg0)
test(Entity arg0)
func_217974_a(Entity arg0)
private static Boolean
a(com.google.gson.JsonObject arg0, String arg1)
getOptionalBoolean(com.google.gson.JsonObject arg0, String arg1)
method_8895(com.google.gson.JsonObject arg0, String arg1)
deserializeBoolean(com.google.gson.JsonObject json, String key)
func_217977_a(com.google.gson.JsonObject arg0, String arg1)
public static EntityFlagsPredicate
a(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement arg0)
method_8893(com.google.gson.JsonElement arg0)
deserialize(com.google.gson.JsonElement element)
func_217975_a(com.google.gson.JsonElement arg0)
private void
a(com.google.gson.JsonObject arg0, String arg1, Boolean arg2)
addOptionalBoolean(com.google.gson.JsonObject arg0, String arg1, Boolean arg2)
method_8896(com.google.gson.JsonObject arg0, String arg1, Boolean arg2)
serializeBoolean(com.google.gson.JsonObject json, String key, Boolean arg2)
func_217978_a(com.google.gson.JsonObject arg0, String arg1, Boolean arg2)
public com.google.gson.JsonElement
a()
serializeToJson()
method_8894()
serialize()
func_217976_a()