Class FluidIngredient
java.lang.Object
earth.terrarium.botarium.common.fluid.utils.FluidIngredient
- All Implemented Interfaces:
Predicate<FluidHolder>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final recordstatic interface -
Method Summary
Modifier and TypeMethodDescriptionvoiddissolve()List<com.mojang.datafixers.util.Either<FluidIngredient.FluidValue,FluidIngredient.TagValue>> static FluidIngredientof()static FluidIngredientof(FluidHolder... fluids) static FluidIngredientof(Stream<FluidHolder> fluids) static FluidIngredientof(net.minecraft.tags.TagKey<net.minecraft.world.level.material.Fluid> tag) static FluidIngredientof(net.minecraft.world.level.material.Fluid... fluids) booleantest(FluidHolder fluidHolder)
-
Method Details
-
of
-
of
-
of
-
of
-
of
public static FluidIngredient of(net.minecraft.tags.TagKey<net.minecraft.world.level.material.Fluid> tag) -
test
- Specified by:
testin interfacePredicate<FluidHolder>
-
getFluids
-
dissolve
public void dissolve() -
getRawValues
public List<com.mojang.datafixers.util.Either<FluidIngredient.FluidValue,FluidIngredient.TagValue>> getRawValues()
-