Package io.github.pylonmc.rebar.recipe
Class FluidOrItem.Fluid
-
- All Implemented Interfaces:
-
io.github.pylonmc.rebar.recipe.FluidOrItem,net.kyori.adventure.key.Keyed,org.bukkit.Keyed
@JvmRecord() public final class FluidOrItem.Fluid extends Record implements FluidOrItem
-
-
Constructor Summary
Constructors Constructor Description FluidOrItem.Fluid(RebarFluid fluid, Double amountMillibuckets)
-
Method Summary
Modifier and Type Method Description final RebarFluidgetFluid()final DoublegetAmountMillibuckets()NamespacedKeygetKey()BooleanmatchesType(FluidOrItem other)-
-
Constructor Detail
-
FluidOrItem.Fluid
FluidOrItem.Fluid(RebarFluid fluid, Double amountMillibuckets)
-
-
Method Detail
-
getFluid
final RebarFluid getFluid()
-
getAmountMillibuckets
final Double getAmountMillibuckets()
-
getKey
NamespacedKey getKey()
-
matchesType
Boolean matchesType(FluidOrItem other)
-
-
-
-