public class BeaconContainer extends Container
inventorySlots, windowId
コンストラクタと説明 |
---|
BeaconContainer(int p_i50099_1_,
IInventory p_i50099_2_) |
BeaconContainer(int p_i50100_1_,
IInventory p_i50100_2_,
IIntArray p_i50100_3_,
IWorldPosCallable p_i50100_4_) |
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
canInteractWith(PlayerEntity playerIn)
Determines whether supplied player can use this container
|
void |
func_216966_c(int p_216966_1_,
int p_216966_2_) |
Effect |
func_216967_f() |
Effect |
func_216968_g() |
int |
func_216969_e() |
boolean |
func_216970_h() |
void |
onContainerClosed(PlayerEntity playerIn)
Called when the container is closed.
|
ItemStack |
transferStackInSlot(PlayerEntity playerIn,
int index)
Handle when the stack in slot
index is shift-clicked. |
void |
updateProgressBar(int id,
int data) |
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, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotClick, trackInt, trackIntArray
public BeaconContainer(int p_i50099_1_, IInventory p_i50099_2_)
public BeaconContainer(int p_i50100_1_, IInventory p_i50100_2_, IIntArray p_i50100_3_, IWorldPosCallable p_i50100_4_)
public void onContainerClosed(PlayerEntity playerIn)
onContainerClosed
クラス内 Container
public boolean canInteractWith(PlayerEntity playerIn)
canInteractWith
クラス内 Container
public void updateProgressBar(int id, int data)
updateProgressBar
クラス内 Container
public ItemStack transferStackInSlot(PlayerEntity playerIn, int index)
index
is shift-clicked. Normally this moves the stack between the player
inventory and the other inventory(s).transferStackInSlot
クラス内 Container
public int func_216969_e()
@Nullable public Effect func_216967_f()
@Nullable public Effect func_216968_g()
public void func_216966_c(int p_216966_1_, int p_216966_2_)
public boolean func_216970_h()