net.minecraft.advancements.critereon

public record EntityFlagsPredicate

bn
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
private final Optional<Boolean>
b
isOnFire
comp_1756
isOnFire
f_33683_
private final Optional<Boolean>
c
isCrouching
comp_1757
isSneaking
f_33684_
private final Optional<Boolean>
d
isSprinting
comp_1758
isSprinting
f_33685_
private final Optional<Boolean>
e
isSwimming
comp_1759
isSwimming
f_33686_
private final Optional<Boolean>
f
isBaby
comp_1760
isBaby
f_33687_
public static final com.mojang.serialization.Codec<EntityFlagsPredicate>
a
CODEC
field_45745
CODEC
f_291452_

Constructor summary

ModifierConstructor
public (Optional<Boolean> f_33684_, Optional<Boolean> f_33685_, Optional<Boolean> f_33686_, Optional<Boolean> f_33687_, Optional<Boolean> arg4)

Method summary

Modifier and TypeMethod
public boolean
a(blv arg0)
matches(Entity arg0)
method_8892(class_1297 arg0)
test(Entity entity)
m_33696_(C_507_ arg0)
public Optional<Boolean>
a()
isOnFire()
comp_1756()
isOnFire()
f_33683_()
public Optional<Boolean>
b()
isCrouching()
comp_1757()
isSneaking()
f_33684_()
public Optional<Boolean>
c()
isSprinting()
comp_1758()
isSprinting()
f_33685_()
public Optional<Boolean>
d()
isSwimming()
comp_1759()
isSwimming()
f_33686_()
public Optional<Boolean>
e()
isBaby()
comp_1760()
isBaby()
f_33687_()