public class RepairContainer extends Container
| Modifier and Type | Field and Description |
|---|---|
int |
materialCost |
inventorySlots, windowId| Constructor and Description |
|---|
RepairContainer(int p_i50101_1_,
PlayerInventory p_i50101_2_) |
RepairContainer(int p_i50102_1_,
PlayerInventory p_i50102_2_,
IWorldPosCallable p_i50102_3_) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canInteractWith(PlayerEntity playerIn) |
int |
func_216976_f() |
static int |
func_216977_d(int p_216977_0_) |
void |
onContainerClosed(PlayerEntity playerIn) |
void |
onCraftMatrixChanged(IInventory inventoryIn) |
void |
setMaximumCost(int value) |
ItemStack |
transferStackInSlot(PlayerEntity playerIn,
int index) |
void |
updateItemName(java.lang.String newName) |
void |
updateRepairOutput() |
addListener, addSlot, areItemsAndTagsEqual, assertIntArraySize, assertInventorySize, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getType, isValidDragMode, isWithinUsableDistance, mergeItemStack, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotClick, trackInt, trackIntArray, updateProgressBarpublic RepairContainer(int p_i50101_1_,
PlayerInventory p_i50101_2_)
public RepairContainer(int p_i50102_1_,
PlayerInventory p_i50102_2_,
IWorldPosCallable p_i50102_3_)
public void onCraftMatrixChanged(IInventory inventoryIn)
onCraftMatrixChanged in class Containerpublic void updateRepairOutput()
public static int func_216977_d(int p_216977_0_)
public void onContainerClosed(PlayerEntity playerIn)
onContainerClosed in class Containerpublic boolean canInteractWith(PlayerEntity playerIn)
canInteractWith in class Containerpublic ItemStack transferStackInSlot(PlayerEntity playerIn, int index)
transferStackInSlot in class Containerpublic void updateItemName(java.lang.String newName)
public int func_216976_f()
public void setMaximumCost(int value)