Class QuantifiedFluidIngredient
java.lang.Object
earth.terrarium.botarium.common.fluid.utils.FluidIngredient
earth.terrarium.botarium.common.fluid.utils.QuantifiedFluidIngredient
- All Implemented Interfaces:
Predicate<FluidHolder>
-
Nested Class Summary
Nested classes/interfaces inherited from class earth.terrarium.botarium.common.fluid.utils.FluidIngredient
FluidIngredient.FluidValue, FluidIngredient.TagValue, FluidIngredient.Value -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<QuantifiedFluidIngredient> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongList<com.mojang.datafixers.util.Either<FluidIngredient.FluidValue,FluidIngredient.TagValue>> booleantest(FluidHolder fluidHolder) Methods inherited from class earth.terrarium.botarium.common.fluid.utils.FluidIngredient
dissolve, listAndObjectCodec, of, of, of, of, of
-
Field Details
-
CODEC
-
-
Constructor Details
-
QuantifiedFluidIngredient
-
-
Method Details
-
getFluidAmount
public long getFluidAmount() -
getIngredient
-
test
- Specified by:
testin interfacePredicate<FluidHolder>- Overrides:
testin classFluidIngredient
-
getFluids
- Overrides:
getFluidsin classFluidIngredient
-
getRawValues
public List<com.mojang.datafixers.util.Either<FluidIngredient.FluidValue,FluidIngredient.TagValue>> getRawValues()- Overrides:
getRawValuesin classFluidIngredient
-