net.minecraft.block.entitypublic class DispenserBlockEntity
extends LootableContainerBlockEntity
All mapped superinterfaces:
DebugTrackable, EntryConvertible, Inventory, Clearable, StackReferenceGetter, NamedScreenHandlerFactory, ScreenHandlerFactory, Nameable, LootableInventory
| net.minecraft.world.level.block.entity.DispenserBlockEntity |
| net.minecraft.world.level.block.entity.DispenserBlockEntity |
| net.minecraft.class_2601 |
| net.minecraft.block.entity.DispenserBlockEntity |
Field summary
| Modifier and Type | Field |
|---|
| public static final int | | CONTAINER_SIZE | | CONTAINER_SIZE | | field_31340 | | INVENTORY_SIZE |
|
| private static final Text | | DEFAULT_NAME | | DEFAULT_NAME | | field_63041 | | CONTAINER_NAME_TEXT |
|
| private DefaultedList<ItemStack> | | items | | items | | field_11945 | | inventory |
|
Constructor summary
Method summary
| Modifier and Type | Method |
|---|
| public int | | getContainerSize() | | getContainerSize() | | method_5439() | | size() |
|
| public int | |
| public ItemStack | |
| protected Text | | getDefaultName() | | getDefaultName() | | method_17823() | | getContainerName() |
|
| protected void | |
| protected void | |
| protected DefaultedList<ItemStack> | | getItems() | | getItems() | | method_11282() | | getHeldStacks() |
|
| protected void | |
| protected ScreenHandler | |