net.minecraft.advancements.critereon

public record FluidPredicate

bx
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<TagKey<Fluid>>
b
tag
comp_1780
tag
f_41095_
private final Optional<Holder<Fluid>>
c
fluid
comp_1781
fluid
f_41096_
private final Optional<StatePropertiesPredicate>
d
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<TagKey<Fluid>> f_41096_, Optional<Holder<Fluid>> f_41097_, Optional<StatePropertiesPredicate> arg2)

Method summary

Modifier and TypeMethod
public boolean
a(akq arg0, gw 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<TagKey<Fluid>>
a()
tag()
comp_1780()
tag()
f_41095_()
public Optional<Holder<Fluid>>
b()
fluid()
comp_1781()
fluid()
f_41096_()
public Optional<StatePropertiesPredicate>
c()
properties()
comp_1782()
state()
f_41097_()