net.minecraft.advancements.critereon

public record EntityFlagsPredicate

bn
net.minecraft.advancements.critereon.EntityFlagsPredicate
net.minecraft.class_2040
net.minecraft.unmapped.C_rptqszvm
net.minecraft.predicate.entity.EntityFlagsPredicate
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
f_qhpucciz
isOnFire
isOnFire
f_33683_
private final Optional<Boolean>
c
isCrouching
comp_1757
f_oabbppwt
isSneaking
isSneaking
f_33684_
private final Optional<Boolean>
d
isSprinting
comp_1758
f_pjiaftkp
isSprinting
isSprinting
f_33685_
private final Optional<Boolean>
e
isSwimming
comp_1759
f_rjajjbpg
isSwimming
isSwimming
f_33686_
private final Optional<Boolean>
f
isBaby
comp_1760
f_dvtqvaqp
isBaby
isBaby
f_33687_
public static final com.mojang.serialization.Codec<EntityFlagsPredicate>
a
CODEC
field_45745
f_rdhoxhwl
CODEC
CODEC
f_291452_

Constructor summary

ModifierConstructor
public (Optional<Boolean> isOnFire, Optional<Boolean> isSneaking, Optional<Boolean> isSprinting, Optional<Boolean> isSwimming, Optional<Boolean> isBaby)

Method summary

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