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, updateProgressBar
public java.util.List<ItemStack> itemList
public ContainerCreative(EntityPlayer p_i1086_1_)
public boolean canInteractWith(EntityPlayer playerIn)
canInteractWith
in class Container
public void scrollTo(float p_148329_1_)
public boolean func_148328_e()
protected void retrySlotClick(int slotId, int clickedButton, boolean mode, EntityPlayer playerIn)
Container
retrySlotClick
in class Container
public ItemStack transferStackInSlot(EntityPlayer playerIn, int index)
Container
transferStackInSlot
in class Container
public boolean canMergeSlot(ItemStack stack, Slot p_94530_2_)
Container
canMergeSlot
in class Container
public boolean canDragIntoSlot(Slot p_94531_1_)
Container
canDragIntoSlot
in class Container