net.minecraft.advancements.critereon

public class EntityFlagsPredicate

bk
net.minecraft.advancements.critereon.EntityFlagsPredicate
net.minecraft.class_2040
net.minecraft.predicate.entity.EntityFlagsPredicate
net.minecraft.src.C_1065_
net.minecraft.advancements.critereon.CriterionConditionEntityFlags

Field summary

Modifier and TypeField
public static final EntityFlagsPredicate
a
ANY
field_9581
ANY
f_33682_
private final Boolean
b
isOnFire
field_9580
isOnFire
f_33683_
private final Boolean
c
isCrouching
field_9582
isSneaking
f_33684_
private final Boolean
d
isSprinting
field_9579
isSprinting
f_33685_
private final Boolean
e
isSwimming
field_9578
isSwimming
f_33686_
private final Boolean
f
isBaby
field_9583
isBaby
f_33687_

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(atg arg0)
matches(Entity arg0)
method_8892(class_1297 arg0)
test(Entity entity)
m_33696_(C_507_ 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)
nullableBooleanFromJson(com.google.gson.JsonObject json, String key)
m_33700_(com.google.gson.JsonObject p_33701_, String p_33702_)
public static EntityFlagsPredicate
a(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement arg0)
method_8893(com.google.gson.JsonElement arg0)
fromJson(com.google.gson.JsonElement json)
m_33698_(com.google.gson.JsonElement p_33699_)
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)
nullableBooleanToJson(com.google.gson.JsonObject json, String key, Boolean value)
m_33703_(com.google.gson.JsonObject p_33705_, String p_33706_, Boolean arg2)
public com.google.gson.JsonElement
a()
serializeToJson()
method_8894()
toJson()
m_33695_()