public class VanillaInventoryCodeHooks
extends java.lang.Object
Constructor and Description |
---|
VanillaInventoryCodeHooks() |
Modifier and Type | Method and Description |
---|---|
static boolean |
dropperInsertHook(World world,
BlockPos pos,
TileEntityDispenser dropper,
int slot,
ItemStack stack)
Copied from BlockDropper#dispense and added capability support
|
static java.lang.Boolean |
extractHook(IHopper dest)
Copied from TileEntityHopper#captureDroppedItems and added capability support
|
static org.apache.commons.lang3.tuple.Pair<IItemHandler,java.lang.Object> |
getItemHandler(World worldIn,
double x,
double y,
double z,
EnumFacing side) |
static boolean |
insertHook(TileEntityHopper hopper)
Copied from TileEntityHopper#transferItemsOut and added capability support
|
@Nullable public static java.lang.Boolean extractHook(IHopper dest)
public static boolean dropperInsertHook(World world, BlockPos pos, TileEntityDispenser dropper, int slot, @Nonnull ItemStack stack)
public static boolean insertHook(TileEntityHopper hopper)
@Nullable public static org.apache.commons.lang3.tuple.Pair<IItemHandler,java.lang.Object> getItemHandler(World worldIn, double x, double y, double z, EnumFacing side)