|
void | addCraftingToCrafters (ICrafting par1ICrafting) |
|
List | getInventory () |
|
void | removeCraftingFromCrafters (ICrafting par1ICrafting) |
|
void | detectAndSendChanges () |
|
boolean | enchantItem (EntityPlayer par1EntityPlayer, int par2) |
|
Slot | getSlotFromInventory (IInventory par1IInventory, int par2) |
|
Slot | getSlot (int par1) |
|
ItemStack | transferStackInSlot (EntityPlayer par1EntityPlayer, int par2) |
|
ItemStack | slotClick (int par1, int par2, int par3, EntityPlayer par4EntityPlayer) |
|
boolean | func_94530_a (ItemStack par1ItemStack, Slot par2Slot) |
|
void | onCraftGuiClosed (EntityPlayer par1EntityPlayer) |
|
void | onCraftMatrixChanged (IInventory par1IInventory) |
|
void | putStackInSlot (int par1, ItemStack par2ItemStack) |
|
void | putStacksInSlots (ItemStack[] par1ArrayOfItemStack) |
|
void | updateProgressBar (int par1, int par2) |
|
short | getNextTransactionID (InventoryPlayer par1InventoryPlayer) |
|
boolean | isPlayerNotUsingContainer (EntityPlayer par1EntityPlayer) |
|
void | setPlayerIsPresent (EntityPlayer par1EntityPlayer, boolean par2) |
|
abstract boolean | canInteractWith (EntityPlayer entityplayer) |
|
boolean | func_94531_b (Slot par1Slot) |
|
void net.minecraft.inventory.Container.addCraftingToCrafters |
( |
ICrafting |
par1ICrafting) | |
|
Slot net.minecraft.inventory.Container.addSlotToContainer |
( |
Slot |
par1Slot) | |
|
|
protected |
the slot is assumed empty
static int net.minecraft.inventory.Container.calcRedstoneFromInventory |
( |
IInventory |
par0IInventory) | |
|
|
static |
abstract boolean net.minecraft.inventory.Container.canInteractWith |
( |
EntityPlayer |
entityplayer) | |
|
|
pure virtual |
Implemented in net.minecraft.inventory.ContainerRepair, net.minecraft.inventory.ContainerEnchantment, net.minecraft.inventory.ContainerFurnace, YATS.common.gui.ContainerAdvExtractor, YATS.common.gui.ContainerRoutingMarshaller, net.minecraft.inventory.ContainerBeacon, net.minecraft.inventory.ContainerPlayer, net.minecraft.inventory.ContainerWorkbench, net.minecraft.inventory.ContainerMerchant, net.minecraft.inventory.ContainerBrewingStand, net.minecraft.inventory.ContainerChest, net.minecraft.inventory.ContainerDispenser, and net.minecraft.inventory.ContainerHopper.
void net.minecraft.inventory.Container.detectAndSendChanges |
( |
) | |
|
Looks for changes made in the container, sends them to every listener.
boolean net.minecraft.inventory.Container.enchantItem |
( |
EntityPlayer |
par1EntityPlayer, |
|
|
int |
par2 |
|
) |
| |
enchants the item on the table using the specified slot; also deducts XP from player
static void net.minecraft.inventory.Container.func_94525_a |
( |
Set |
par0Set, |
|
|
int |
par1, |
|
|
ItemStack |
par2ItemStack, |
|
|
int |
par3 |
|
) |
| |
|
static |
static boolean net.minecraft.inventory.Container.func_94527_a |
( |
Slot |
par0Slot, |
|
|
ItemStack |
par1ItemStack, |
|
|
boolean |
par2 |
|
) |
| |
|
static |
static boolean net.minecraft.inventory.Container.func_94528_d |
( |
int |
par0) | |
|
|
static |
static int net.minecraft.inventory.Container.func_94529_b |
( |
int |
par0) | |
|
|
static |
boolean net.minecraft.inventory.Container.func_94530_a |
( |
ItemStack |
par1ItemStack, |
|
|
Slot |
par2Slot |
|
) |
| |
boolean net.minecraft.inventory.Container.func_94531_b |
( |
Slot |
par1Slot) | |
|
static int net.minecraft.inventory.Container.func_94532_c |
( |
int |
par0) | |
|
|
static |
void net.minecraft.inventory.Container.func_94533_d |
( |
) | |
|
|
protected |
static int net.minecraft.inventory.Container.func_94534_d |
( |
int |
par0, |
|
|
int |
par1 |
|
) |
| |
|
static |
List net.minecraft.inventory.Container.getInventory |
( |
) | |
|
returns a list if itemStacks, for each slot.
short net.minecraft.inventory.Container.getNextTransactionID |
( |
InventoryPlayer |
par1InventoryPlayer) | |
|
Gets a unique transaction ID. Parameter is unused.
Slot net.minecraft.inventory.Container.getSlot |
( |
int |
par1) | |
|
Slot net.minecraft.inventory.Container.getSlotFromInventory |
( |
IInventory |
par1IInventory, |
|
|
int |
par2 |
|
) |
| |
boolean net.minecraft.inventory.Container.isPlayerNotUsingContainer |
( |
EntityPlayer |
par1EntityPlayer) | |
|
NotUsing because adding a player twice is an error
boolean net.minecraft.inventory.Container.mergeItemStack |
( |
ItemStack |
par1ItemStack, |
|
|
int |
par2, |
|
|
int |
par3, |
|
|
boolean |
par4 |
|
) |
| |
|
protected |
merges provided ItemStack with the first avaliable one in the container/player inventory
void net.minecraft.inventory.Container.onCraftGuiClosed |
( |
EntityPlayer |
par1EntityPlayer) | |
|
Callback for when the crafting gui is closed.
void net.minecraft.inventory.Container.onCraftMatrixChanged |
( |
IInventory |
par1IInventory) | |
|
Callback for when the crafting matrix is changed.
void net.minecraft.inventory.Container.putStackInSlot |
( |
int |
par1, |
|
|
ItemStack |
par2ItemStack |
|
) |
| |
args: slotID, itemStack to put in slot
void net.minecraft.inventory.Container.putStacksInSlots |
( |
ItemStack[] |
par1ArrayOfItemStack) | |
|
places itemstacks in first x slots, x being aitemstack.lenght
void net.minecraft.inventory.Container.removeCraftingFromCrafters |
( |
ICrafting |
par1ICrafting) | |
|
Remove this crafting listener from the listener list.
void net.minecraft.inventory.Container.retrySlotClick |
( |
int |
par1, |
|
|
int |
par2, |
|
|
boolean |
par3, |
|
|
EntityPlayer |
par4EntityPlayer |
|
) |
| |
|
protected |
void net.minecraft.inventory.Container.setPlayerIsPresent |
( |
EntityPlayer |
par1EntityPlayer, |
|
|
boolean |
par2 |
|
) |
| |
adds or removes the player from the container based on par2
ItemStack net.minecraft.inventory.Container.slotClick |
( |
int |
par1, |
|
|
int |
par2, |
|
|
int |
par3, |
|
|
EntityPlayer |
par4EntityPlayer |
|
) |
| |
ItemStack net.minecraft.inventory.Container.transferStackInSlot |
( |
EntityPlayer |
par1EntityPlayer, |
|
|
int |
par2 |
|
) |
| |
Called when a player shift-clicks on a slot. You must override this or you will crash when someone does that.
void net.minecraft.inventory.Container.updateProgressBar |
( |
int |
par1, |
|
|
int |
par2 |
|
) |
| |
List net.minecraft.inventory.Container.crafters = new ArrayList() |
|
protected |
list of all people that need to be notified when this craftinventory changes
List net.minecraft.inventory.Container.inventoryItemStacks = new ArrayList() |
the list of all items(stacks) for the corresponding slot
List net.minecraft.inventory.Container.inventorySlots = new ArrayList() |
the list of all slots in the inventory
int net.minecraft.inventory.Container.windowId = 0 |
The documentation for this class was generated from the following file:
- C:/Users/LazDude/Downloads/MinecraftModding/YATS/forge/mcp/src/minecraft/net/minecraft/inventory/Container.java