Class TransferManager
java.lang.Object
com.refinedmods.refinedstorage.container.transfer.TransferManager
-
Constructor Summary
ConstructorDescriptionTransferManager
(net.minecraft.world.inventory.AbstractContainerMenu container) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addBiTransfer
(net.minecraft.world.Container from, net.neoforged.neoforge.items.IItemHandler to) void
addFilterTransfer
(net.minecraft.world.Container from, net.neoforged.neoforge.items.IItemHandlerModifiable itemTo, FluidInventory fluidTo, Supplier<Integer> typeGetter) void
addFluidFilterTransfer
(net.minecraft.world.Container from, FluidInventory to) void
addItemFilterTransfer
(net.minecraft.world.Container from, net.neoforged.neoforge.items.IItemHandlerModifiable to) void
addTransfer
(net.minecraft.world.Container from, net.minecraft.world.Container to) void
addTransfer
(net.minecraft.world.Container from, net.neoforged.neoforge.items.IItemHandler to) void
addTransfer
(net.neoforged.neoforge.items.IItemHandler from, net.minecraft.world.Container to) void
void
setNotFoundHandler
(Function<Integer, net.minecraft.world.item.ItemStack> handler) net.minecraft.world.item.ItemStack
transfer
(int index)
-
Constructor Details
-
TransferManager
public TransferManager(net.minecraft.world.inventory.AbstractContainerMenu container)
-
-
Method Details
-
clearTransfers
public void clearTransfers() -
setNotFoundHandler
-
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
-
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)
-