static class GuiContainerCreative.ContainerCreative extends Container
| Modifier and Type | Field and Description |
|---|---|
java.util.List<ItemStack> |
itemList |
crafters, inventoryItemStacks, inventorySlots, windowId| Constructor and Description |
|---|
ContainerCreative(EntityPlayer p_i1086_1_) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDragIntoSlot(Slot p_94531_1_)
Returns true if the player can "drag-spilt" items into this slot,.
|
boolean |
canInteractWith(EntityPlayer playerIn) |
boolean |
canMergeSlot(ItemStack stack,
Slot p_94530_2_)
Called to determine if the current slot is valid for the stack merging (double-click) code.
|
boolean |
func_148328_e() |
protected void |
retrySlotClick(int slotId,
int clickedButton,
boolean mode,
EntityPlayer playerIn)
Retries slotClick() in case of failure
|
void |
scrollTo(float p_148329_1_) |
ItemStack |
transferStackInSlot(EntityPlayer playerIn,
int index)
Take a stack from the specified inventory slot.
|
addSlotToContainer, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, func_94534_d, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onContainerClosed, onCraftGuiOpened, onCraftMatrixChanged, putStackInSlot, putStacksInSlots, removeCraftingFromCrafters, resetDrag, setCanCraft, slotClick, updateProgressBarpublic java.util.List<ItemStack> itemList
public ContainerCreative(EntityPlayer p_i1086_1_)
public boolean canInteractWith(EntityPlayer playerIn)
canInteractWith in class Containerpublic void scrollTo(float p_148329_1_)
public boolean func_148328_e()
protected void retrySlotClick(int slotId,
int clickedButton,
boolean mode,
EntityPlayer playerIn)
ContainerretrySlotClick in class Containerpublic ItemStack transferStackInSlot(EntityPlayer playerIn, int index)
ContainertransferStackInSlot in class Containerpublic boolean canMergeSlot(ItemStack stack, Slot p_94530_2_)
ContainercanMergeSlot in class Containerpublic boolean canDragIntoSlot(Slot p_94531_1_)
ContainercanDragIntoSlot in class Container