Class ItemBasedSingleFluidInv

java.lang.Object
alexiil.mc.lib.attributes.misc.AbstractItemBasedAttribute
alexiil.mc.lib.attributes.fluid.item.ItemBasedSingleFluidInv
All Implemented Interfaces:
FluidExtractable, FluidInsertable, FluidTransferable, GroupedFluidInv, GroupedFluidInvView, LimitedConsumer<FluidVolume>

public abstract class ItemBasedSingleFluidInv extends AbstractItemBasedAttribute implements GroupedFluidInv
An abstract GroupedFluidInv for an AbstractItemBasedAttribute which only ever contains a single fluid, and can contain any amount of said fluid between 0 and it's capacity.
  • Constructor Details

    • ItemBasedSingleFluidInv

      protected ItemBasedSingleFluidInv(Reference<net.minecraft.item.ItemStack> stackRef, LimitedConsumer<net.minecraft.item.ItemStack> excessStacks)
  • Method Details