net.minecraft.advancements.critereon

public record FluidPredicate

cd
net.minecraft.advancements.critereon.FluidPredicate
net.minecraft.class_4551
net.minecraft.predicate.FluidPredicate
net.minecraft.src.C_1356_
net.minecraft.advancements.critereon.CriterionConditionFluid

Field summary

Modifier and TypeField
private final Optional<HolderSet<Fluid>>
b
fluids
comp_2372
fluids
f_315771_
private final Optional<StatePropertiesPredicate>
c
properties
comp_1782
state
f_41097_
public static final com.mojang.serialization.Codec<FluidPredicate>
a
CODEC
field_45753
CODEC
f_291214_

Constructor summary

ModifierConstructor
public (Optional<HolderSet<Fluid>> properties, Optional<StatePropertiesPredicate> arg1)

Method summary

Modifier and TypeMethod
public boolean
a(aqu arg0, jd arg1)
matches(ServerLevel arg0, BlockPos arg1)
method_22475(class_3218 arg0, class_2338 arg1)
test(ServerWorld world, BlockPos pos)
m_41104_(C_12_ p_41106_, C_4675_ arg1)
public Optional<HolderSet<Fluid>>
a()
fluids()
comp_2372()
fluids()
f_315771_()
public Optional<StatePropertiesPredicate>
b()
properties()
comp_1782()
state()
f_41097_()