Class TransferManager

java.lang.Object
com.refinedmods.refinedstorage.container.transfer.TransferManager

public class TransferManager extends Object
  • Constructor Details

    • TransferManager

      public TransferManager(net.minecraft.world.inventory.AbstractContainerMenu container)
  • Method Details

    • clearTransfers

      public void clearTransfers()
    • setNotFoundHandler

      public void setNotFoundHandler(@Nullable Function<Integer,net.minecraft.world.item.ItemStack> handler)
    • addTransfer

      public void addTransfer(net.minecraft.world.Container from, net.neoforged.neoforge.items.IItemHandler to)
    • addTransfer

      public void addTransfer(net.minecraft.world.Container from, net.minecraft.world.Container to)
    • addFilterTransfer

      public void addFilterTransfer(net.minecraft.world.Container from, net.neoforged.neoforge.items.IItemHandlerModifiable itemTo, FluidInventory fluidTo, Supplier<Integer> typeGetter)
    • addItemFilterTransfer

      public void addItemFilterTransfer(net.minecraft.world.Container from, net.neoforged.neoforge.items.IItemHandlerModifiable to)
    • addFluidFilterTransfer

      public void addFluidFilterTransfer(net.minecraft.world.Container from, FluidInventory to)
    • addTransfer

      public void addTransfer(net.neoforged.neoforge.items.IItemHandler from, net.minecraft.world.Container to)
    • addBiTransfer

      public void addBiTransfer(net.minecraft.world.Container from, net.neoforged.neoforge.items.IItemHandler to)
    • transfer

      public net.minecraft.world.item.ItemStack transfer(int index)