net.minecraft.advancements.critereon

public record FluidPredicate

cf
net.minecraft.advancements.critereon.FluidPredicate
net.minecraft.class_4551
net.minecraft.predicate.FluidPredicate
net.minecraft.advancements.critereon.CriterionConditionFluid

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(ard arg0, ji arg1)
matches(ServerLevel arg0, BlockPos arg1)
method_22475(class_3218 arg0, class_2338 arg1)
test(ServerWorld world, BlockPos pos)
public Optional<HolderSet<Fluid>>
a()
fluids()
comp_2372()
fluids()
public Optional<StatePropertiesPredicate>
b()
properties()
comp_1782()
state()