Uses of Class
alexiil.mc.lib.attributes.misc.Ref
Package | Description |
---|---|
alexiil.mc.lib.attributes.fluid |
The base package for
fluid management. |
-
Uses of Ref in alexiil.mc.lib.attributes.fluid
Methods in alexiil.mc.lib.attributes.fluid with parameters of type Ref Modifier and Type Method Description static FluidExtractable
FluidVolumeUtil. createItemInventoryExtractable(Ref<net.minecraft.item.ItemStack> stackRef, java.util.function.Consumer<net.minecraft.item.ItemStack> excessStacks)
Deprecated.This has been replaced by the item-based attributes system.static FluidInsertable
FluidVolumeUtil. createItemInventoryInsertable(Ref<net.minecraft.item.ItemStack> stackRef, java.util.function.Consumer<net.minecraft.item.ItemStack> excessStacks)
Deprecated.This has been replaced by the item-based attributes system.FluidVolume
FluidProviderItem. drain(Ref<net.minecraft.item.ItemStack> stack)
Deprecated.This has been replaced byFluidAttributes.EXTRACTABLE
.boolean
FluidProviderItem. fill(Ref<net.minecraft.item.ItemStack> stack, Ref<FluidVolume> with)
Deprecated.This has been replaced byFluidAttributes.INSERTABLE
.static FluidVolumeUtil.FluidTankInteraction
FluidVolumeUtil. interactWithTank(FixedFluidInv inv, Ref<net.minecraft.item.ItemStack> stack, java.util.function.Consumer<net.minecraft.item.ItemStack> excessStacks)
Deprecated.This has been replaced byFluidInvUtil.interactItemWithTank(FixedFluidInv, Reference, LimitedConsumer)
.static FluidVolumeUtil.FluidTankInteraction
FluidVolumeUtil. interactWithTank(FluidInsertable invInsert, FluidExtractable invExtract, Ref<net.minecraft.item.ItemStack> stack, java.util.function.Consumer<net.minecraft.item.ItemStack> excessStacks)
Deprecated.This has been replaced byFluidInvUtil.interactItemWithTank(FluidInsertable, FluidExtractable, Reference, LimitedConsumer)
.static FluidVolumeUtil.FluidTankInteraction
FluidVolumeUtil. interactWithTank(FluidTransferable inv, Ref<net.minecraft.item.ItemStack> stack, java.util.function.Consumer<net.minecraft.item.ItemStack> excessStacks)
Deprecated.This has been replaced byFluidInvUtil.interactItemWithTank(FluidTransferable, Reference, LimitedConsumer)
.