net.minecraft.advancements.critereon

public record EntityFlagsPredicate

bt
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
isOnGround
comp_2666
isOnGround
f_337406_
private final Optional<Boolean>
c
isOnFire
comp_1756
isOnFire
f_33683_
private final Optional<Boolean>
d
isCrouching
comp_1757
isSneaking
f_33684_
private final Optional<Boolean>
e
isSprinting
comp_1758
isSprinting
f_33685_
private final Optional<Boolean>
f
isSwimming
comp_1759
isSwimming
f_33686_
private final Optional<Boolean>
g
isFlying
comp_2667
isFlying
f_336930_
private final Optional<Boolean>
h
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> isOnFire, Optional<Boolean> isCrouching, Optional<Boolean> isSprinting, Optional<Boolean> isSwimming, Optional<Boolean> isFlying, Optional<Boolean> isBaby, Optional<Boolean> arg6)

Method summary

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