public class DispenserTileEntity extends LockableLootTileEntity
lootTable, lootTableSeed
pos, removed, world
INFINITE_EXTENT_AABB
修飾子 | コンストラクタと説明 |
---|---|
|
DispenserTileEntity() |
protected |
DispenserTileEntity(TileEntityType<?> p_i48286_1_) |
修飾子とタイプ | メソッドと説明 |
---|---|
int |
addItemStack(ItemStack stack)
Add the given ItemStack to this Dispenser.
|
protected Container |
createMenu(int id,
PlayerInventory player) |
protected ITextComponent |
getDefaultName() |
int |
getDispenseSlot() |
protected NonNullList<ItemStack> |
getItems() |
int |
getSizeInventory()
Returns the number of slots in the inventory.
|
void |
read(CompoundNBT compound) |
protected void |
setItems(NonNullList<ItemStack> itemsIn) |
CompoundNBT |
write(CompoundNBT compound) |
canOpen, checkLootAndRead, checkLootAndWrite, clear, createMenu, decrStackSize, fillWithLoot, getStackInSlot, isEmpty, isUsableByPlayer, removeStackFromSlot, setInventorySlotContents, setLootTable, setLootTable
canUnlock, createUnSidedHandler, getCapability, getCustomName, getDisplayName, getName, remove, setCustomName
addInfoToCrashReport, create, getBlockState, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getType, getUpdatePacket, getUpdateTag, getWorld, hasWorld, isRemoved, markDirty, mirror, onlyOpsCanSetNbt, receiveClientEvent, rotate, setPos, setWorldAndPos, updateContainingBlockInfo, validate, warnInvalidBlock
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, invalidateCaps, reviveCaps, serializeCaps
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeInventory, count, getInventoryStackLimit, hasAny, isItemValidForSlot, markDirty, openInventory
clearObj
hasCustomName
canRenderBreaking, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, hasFastRenderer, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT
getCapability
protected DispenserTileEntity(TileEntityType<?> p_i48286_1_)
public DispenserTileEntity()
public int getSizeInventory()
public int getDispenseSlot()
public int addItemStack(ItemStack stack)
protected ITextComponent getDefaultName()
getDefaultName
クラス内 LockableTileEntity
public void read(CompoundNBT compound)
read
クラス内 LockableTileEntity
public CompoundNBT write(CompoundNBT compound)
write
クラス内 LockableTileEntity
protected NonNullList<ItemStack> getItems()
getItems
クラス内 LockableLootTileEntity
protected void setItems(NonNullList<ItemStack> itemsIn)
setItems
クラス内 LockableLootTileEntity
protected Container createMenu(int id, PlayerInventory player)
createMenu
クラス内 LockableTileEntity