public class DispenserTileEntity extends LockableLootTileEntity
lootTable, lootTableSeedpos, removed, worldINFINITE_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, setLootTablecanUnlock, createUnSidedHandler, getCapability, getCustomName, getDisplayName, getName, remove, setCustomNameaddInfoToCrashReport, create, getBlockState, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getType, getUpdatePacket, getUpdateTag, getWorld, hasWorld, isRemoved, markDirty, mirror, onlyOpsCanSetNbt, receiveClientEvent, rotate, setPos, setWorldAndPos, updateContainingBlockInfo, validate, warnInvalidBlockareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseInventory, count, getInventoryStackLimit, hasAny, isItemValidForSlot, markDirty, openInventoryclearObjhasCustomNamecanRenderBreaking, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, hasFastRenderer, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate, serializeNBTgetCapabilityprotected DispenserTileEntity(TileEntityType<?> p_i48286_1_)
public DispenserTileEntity()
public int getSizeInventory()
public int getDispenseSlot()
public int addItemStack(ItemStack stack)
protected ITextComponent getDefaultName()
getDefaultName クラス内 LockableTileEntitypublic void read(CompoundNBT compound)
read クラス内 LockableTileEntitypublic CompoundNBT write(CompoundNBT compound)
write クラス内 LockableTileEntityprotected NonNullList<ItemStack> getItems()
getItems クラス内 LockableLootTileEntityprotected void setItems(NonNullList<ItemStack> itemsIn)
setItems クラス内 LockableLootTileEntityprotected Container createMenu(int id, PlayerInventory player)
createMenu クラス内 LockableTileEntity