public class ContainerMillstone extends DerpyContainer
| Modifier and Type | Field and Description |
|---|---|
net.minecraft.entity.player.InventoryPlayer |
inventoryPlayer |
int |
lastEnergyNeeded |
int |
lastProgress |
TileEntityMillstone |
millstone |
| Constructor and Description |
|---|
ContainerMillstone(net.minecraft.entity.player.InventoryPlayer inv,
TileEntityMillstone te) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCraftingToCrafters(net.minecraft.inventory.ICrafting craft) |
boolean |
canInteractWith(net.minecraft.entity.player.EntityPlayer p_75145_1_) |
void |
detectAndSendChanges() |
net.minecraft.item.ItemStack |
transferStackInSlot(net.minecraft.entity.player.EntityPlayer player,
int slotNum)
Called when a player shift-clicks on a slot.
|
void |
updateProgressBar(int key,
int value) |
addSlotToContainercalcRedstoneFromInventory, canDragIntoSlot, enchantItem, func_94525_a, func_94527_a, func_94528_d, func_94529_b, func_94530_a, func_94532_c, func_94533_d, func_94534_d, getInventory, getNextTransactionID, getSlot, getSlotFromInventory, isPlayerNotUsingContainer, mergeItemStack, onContainerClosed, onCraftMatrixChanged, putStackInSlot, putStacksInSlots, removeCraftingFromCrafters, retrySlotClick, setPlayerIsPresent, slotClickpublic TileEntityMillstone millstone
public net.minecraft.entity.player.InventoryPlayer inventoryPlayer
public int lastProgress
public int lastEnergyNeeded
public ContainerMillstone(net.minecraft.entity.player.InventoryPlayer inv,
TileEntityMillstone te)
public void addCraftingToCrafters(net.minecraft.inventory.ICrafting craft)
addCraftingToCrafters in class net.minecraft.inventory.Containerpublic void detectAndSendChanges()
detectAndSendChanges in class net.minecraft.inventory.Containerpublic void updateProgressBar(int key,
int value)
updateProgressBar in class net.minecraft.inventory.Containerpublic net.minecraft.item.ItemStack transferStackInSlot(net.minecraft.entity.player.EntityPlayer player,
int slotNum)
transferStackInSlot in class net.minecraft.inventory.Containerpublic boolean canInteractWith(net.minecraft.entity.player.EntityPlayer p_75145_1_)
canInteractWith in class net.minecraft.inventory.Container