Package net.minecraft.inventory
Interface ISidedInventory
-
- All Superinterfaces:
IInventory
,IWorldNameable
- All Known Implementing Classes:
TileEntityBrewingStand
,TileEntityFurnace
public interface ISidedInventory extends IInventory
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canExtractItem(int var1, ItemStack var2, EnumFacing var3)
+ Returns true if automation can extract the given item in the given slot from the given side.boolean
canInsertItem(int var1, ItemStack var2, EnumFacing var3)
+ Returns true if automation can insert the given item in the given slot from the given side.int[]
getSlotsForFace(EnumFacing var1)
-
Methods inherited from interface net.minecraft.inventory.IInventory
clear, closeInventory, decrStackSize, getField, getFieldCount, getInventoryStackLimit, getSizeInventory, getStackInSlot, isItemValidForSlot, isUseableByPlayer, markDirty, openInventory, removeStackFromSlot, setField, setInventorySlotContents
-
Methods inherited from interface net.minecraft.world.IWorldNameable
getDisplayName, getName, hasCustomName
-
-
-
-
Method Detail
-
getSlotsForFace
int[] getSlotsForFace(EnumFacing var1)
-
canInsertItem
boolean canInsertItem(int var1, ItemStack var2, EnumFacing var3)
+ Returns true if automation can insert the given item in the given slot from the given side. Args: slot, item, side
-
canExtractItem
boolean canExtractItem(int var1, ItemStack var2, EnumFacing var3)
+ Returns true if automation can extract the given item in the given slot from the given side. Args: slot, item, side
-
-