net.minecraft.advancements.critereon

public record EntityFlagsPredicate

bu
net.minecraft.advancements.critereon.EntityFlagsPredicate
net.minecraft.class_2040
net.minecraft.predicate.entity.EntityFlagsPredicate
net.minecraft.advancements.critereon.CriterionConditionEntityFlags

Field summary

Modifier and TypeField
private final Optional<Boolean>
b
isOnGround
comp_2666
isOnGround
private final Optional<Boolean>
c
isOnFire
comp_1756
isOnFire
private final Optional<Boolean>
d
isCrouching
comp_1757
isSneaking
private final Optional<Boolean>
e
isSprinting
comp_1758
isSprinting
private final Optional<Boolean>
f
isSwimming
comp_1759
isSwimming
private final Optional<Boolean>
g
isFlying
comp_2667
isFlying
private final Optional<Boolean>
h
isBaby
comp_1760
isBaby
public static final com.mojang.serialization.Codec<EntityFlagsPredicate>
a
CODEC
field_45745
CODEC

Constructor summary

ModifierConstructor
public (Optional<Boolean> arg0, Optional<Boolean> arg1, Optional<Boolean> arg2, Optional<Boolean> arg3, Optional<Boolean> arg4, Optional<Boolean> arg5, Optional<Boolean> arg6)

Method summary

Modifier and TypeMethod
public boolean
a(bvk arg0)
matches(Entity arg0)
method_8892(class_1297 arg0)
test(Entity entity)
public Optional<Boolean>
a()
isOnGround()
comp_2666()
isOnGround()
public Optional<Boolean>
b()
isOnFire()
comp_1756()
isOnFire()
public Optional<Boolean>
c()
isCrouching()
comp_1757()
isSneaking()
public Optional<Boolean>
d()
isSprinting()
comp_1758()
isSprinting()
public Optional<Boolean>
e()
isSwimming()
comp_1759()
isSwimming()
public Optional<Boolean>
f()
isFlying()
comp_2667()
isFlying()
public Optional<Boolean>
g()
isBaby()
comp_1760()
isBaby()