Modifier and Type | Field and Description |
---|---|
private IItemHandler |
EntityLivingBase.joinedHandler |
Modifier and Type | Field and Description |
---|---|
IItemHandler |
EntityMinecartContainer.itemHandler |
Modifier and Type | Field and Description |
---|---|
private IItemHandler |
AbstractHorse.itemHandler |
Modifier and Type | Field and Description |
---|---|
private IItemHandler |
EntityPlayer.playerEquipmentHandler |
private IItemHandler |
EntityPlayer.playerJoinedHandler |
private IItemHandler |
EntityPlayer.playerMainHandler |
Modifier and Type | Field and Description |
---|---|
(package private) IItemHandler |
TileEntityFurnace.handlerBottom |
(package private) IItemHandler |
TileEntityBrewingStand.handlerInput |
(package private) IItemHandler |
TileEntityBrewingStand.handlerOutput |
(package private) IItemHandler |
TileEntityFurnace.handlerSide |
(package private) IItemHandler |
TileEntityBrewingStand.handlerSides |
(package private) IItemHandler |
TileEntityFurnace.handlerTop |
private IItemHandler |
TileEntityLockable.itemHandler |
Modifier and Type | Method and Description |
---|---|
protected IItemHandler |
TileEntityShulkerBox.createUnSidedHandler() |
protected IItemHandler |
TileEntityLockable.createUnSidedHandler() |
protected IItemHandler |
TileEntityHopper.createUnSidedHandler() |
IItemHandler |
TileEntityChest.getSingleChestHandler() |
Modifier and Type | Method and Description |
---|---|
static FluidActionResult |
FluidUtil.tryEmptyContainerAndStow(ItemStack container,
IFluidHandler fluidDestination,
IItemHandler inventory,
int maxAmount,
EntityPlayer player)
|
static FluidActionResult |
FluidUtil.tryEmptyContainerAndStow(ItemStack container,
IFluidHandler fluidDestination,
IItemHandler inventory,
int maxAmount,
EntityPlayer player,
boolean doDrain)
Takes an Fluid Container Item, tries to empty it into the fluid handler, and stows it in the given inventory.
|
static FluidActionResult |
FluidUtil.tryFillContainerAndStow(ItemStack container,
IFluidHandler fluidSource,
IItemHandler inventory,
int maxAmount,
EntityPlayer player)
|
static FluidActionResult |
FluidUtil.tryFillContainerAndStow(ItemStack container,
IFluidHandler fluidSource,
IItemHandler inventory,
int maxAmount,
EntityPlayer player,
boolean doFill)
Takes an Fluid Container Item and tries to fill it from the given tank.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IItemHandlerModifiable |
Modifier and Type | Class and Description |
---|---|
class |
ItemStackHandler |
class |
VanillaDoubleChestItemHandler |
class |
VanillaHopperItemHandler |
Modifier and Type | Field and Description |
---|---|
private IItemHandler |
SlotItemHandler.itemHandler |
Modifier and Type | Field and Description |
---|---|
static Capability<IItemHandler> |
CapabilityItemHandler.ITEM_HANDLER_CAPABILITY |
Modifier and Type | Method and Description |
---|---|
IItemHandler |
SlotItemHandler.getItemHandler() |
Modifier and Type | Method and Description |
---|---|
private static org.apache.commons.lang3.tuple.Pair<IItemHandler,java.lang.Object> |
VanillaInventoryCodeHooks.getItemHandler(IHopper hopper,
EnumFacing hopperFacing) |
static org.apache.commons.lang3.tuple.Pair<IItemHandler,java.lang.Object> |
VanillaInventoryCodeHooks.getItemHandler(World worldIn,
double x,
double y,
double z,
EnumFacing side) |
Modifier and Type | Method and Description |
---|---|
static int |
ItemHandlerHelper.calcRedstoneFromInventory(IItemHandler inv)
This method uses the standard vanilla algorithm to calculate a comparator output for how "full" the inventory is.
|
static ItemStack |
ItemHandlerHelper.insertItem(IItemHandler dest,
ItemStack stack,
boolean simulate) |
static ItemStack |
ItemHandlerHelper.insertItemStacked(IItemHandler inventory,
ItemStack stack,
boolean simulate)
Inserts the ItemStack into the inventory, filling up already present stacks first.
|
private static ItemStack |
VanillaInventoryCodeHooks.insertStack(TileEntity source,
java.lang.Object destination,
IItemHandler destInventory,
ItemStack stack,
int slot)
Copied from TileEntityHopper#insertStack and added capability support
|
private static boolean |
VanillaInventoryCodeHooks.isEmpty(IItemHandler itemHandler) |
private static boolean |
VanillaInventoryCodeHooks.isFull(IItemHandler itemHandler) |
private static ItemStack |
VanillaInventoryCodeHooks.putStackInInventoryAllSlots(TileEntity source,
java.lang.Object destination,
IItemHandler destInventory,
ItemStack stack) |
Constructor and Description |
---|
SlotItemHandler(IItemHandler itemHandler,
int index,
int xPosition,
int yPosition) |
Modifier and Type | Class and Description |
---|---|
class |
CombinedInvWrapper |
class |
EmptyHandler |
class |
EntityArmorInvWrapper
|
class |
EntityEquipmentInvWrapper
Exposes the armor or hands inventory of an
EntityLivingBase as an IItemHandler using EntityLivingBase.getItemStackFromSlot(net.minecraft.inventory.EntityEquipmentSlot) and
EntityLivingBase.setItemStackToSlot(net.minecraft.inventory.EntityEquipmentSlot, net.minecraft.item.ItemStack) . |
class |
EntityHandsInvWrapper
|
class |
InvWrapper |
class |
PlayerArmorInvWrapper |
class |
PlayerInvWrapper |
class |
PlayerMainInvWrapper
Exposes the player inventory WITHOUT the armor inventory as IItemHandler.
|
class |
PlayerOffhandInvWrapper |
class |
RangedWrapper
A wrapper that composes another IItemHandlerModifiable, exposing only a range of the composed slots.
|
class |
SidedInvWrapper |
Modifier and Type | Field and Description |
---|---|
static IItemHandler |
EmptyHandler.INSTANCE |