History - net.minecraft.block.entity.ChestBlockEntity

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

1.21.11_unobfuscated

Names

net.minecraft.world.level.block.entity.ChestBlockEntity

net.minecraft.class_2595

net.minecraft.block.entity.ChestBlockEntity

Fields

int: EVENT_SET_OPEN_COUNT, field_31332, VIEWER_COUNT_UPDATE_EVENT_TYPE

Text: DEFAULT_NAME, field_63039, CONTAINER_NAME_TEXT

DefaultedList<ItemStack>: items, field_11927, inventory

ViewerCountManager: openersCounter, field_27209, stateManager

ChestLidAnimator: chestLidController, field_27210, lidAnimator

Constructors

(BlockEntityType<?>, BlockPos, BlockState)

(BlockPos, BlockState)

Methods

int (): getContainerSize, method_5439, size

Text (): getDefaultName, method_17823, getContainerName

void (ReadView): loadAdditional, method_11014, readData

void (WriteView): saveAdditional, method_11007, writeData

void (World, BlockPos, BlockState, ChestBlockEntity): lidAnimateTick, method_31670, clientTick

void (World, BlockPos, BlockState, SoundEvent): playSound, method_11050, playSound

boolean (int, int): triggerEvent, method_11004, onSyncedBlockEvent

void (ContainerUser): startOpen, method_5435, onOpen

void (ContainerUser): stopOpen, method_5432, onClose

List<ContainerUser> (): getEntitiesWithContainerOpen, method_72379, getViewingUsers

DefaultedList<ItemStack> (): getItems, method_11282, getHeldStacks

void (DefaultedList<ItemStack>): setItems, method_11281, setHeldStacks

float (float): getOpenNess, method_11274, getAnimationProgress

int (BlockView, BlockPos): getOpenCount, method_11048, getPlayersLookingInChestCount

void (ChestBlockEntity, ChestBlockEntity): swapContents, method_11047, copyInventory

ScreenHandler (int, PlayerInventory): createMenu, method_5465, createScreenHandler

void (): recheckOpen, method_31671, onScheduledTick

void (World, BlockPos, BlockState, int, int): signalOpenCount, method_11049, onViewerCountUpdate