net.minecraft.world.level.block.entity

public class ChiseledBookShelfBlockEntity

extends BlockEntity implements Container

All mapped superinterfaces:

Container, Clearable

czw
net.minecraft.world.level.block.entity.ChiseledBookShelfBlockEntity
net.minecraft.class_7716
net.minecraft.block.entity.ChiseledBookshelfBlockEntity
net.minecraft.src.C_243618_
net.minecraft.world.level.block.entity.ChiseledBookShelfBlockEntity

Field summary

Modifier and TypeField
public static final int
c
MAX_BOOKS_IN_STORAGE
field_40331
MAX_BOOKS
f_244647_
private static final org.slf4j.Logger
d
LOGGER
field_40898
LOGGER
f_254661_
private final NonNullList<ItemStack>
e
items
field_41314
inventory
f_260576_
private int
f
lastInteractedSlot
field_41601
lastInteractedSlot
f_262317_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
private void
c(int arg0)
updateState(int arg0)
method_47585(int arg0)
updateState(int interactedSlot)
m_261204_(int arg0)
public void
a(qr arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
protected void
b(qr arg0)
saveAdditional(CompoundTag arg0)
method_11007(class_2487 arg0)
writeNbt(NbtCompound arg0)
m_183515_(C_4917_ arg0)
public int
f()
count()
method_47587()
getOpenSlotCount()
m_260842_()
public void
a()
clearContent()
method_5448()
clear()
m_6211_()
public int
b()
getContainerSize()
method_5439()
size()
m_6643_()
public boolean
ab_()
isEmpty()
method_5442()
isEmpty()
m_7983_()
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
getStack(int arg0)
m_8020_(int arg0)
public ItemStack
a(int arg0, int arg1)
removeItem(int arg0, int arg1)
method_5434(int arg0, int arg1)
removeStack(int arg0, int arg1)
m_7407_(int p_255673_, int arg1)
public ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
removeStack(int arg0)
m_8016_(int arg0)
public void
a(int arg0, cfz arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
setStack(int arg0, ItemStack arg1)
m_6836_(int p_255789_, C_1391_ arg1)
public boolean
a(bdq arg0, int arg1, cfz arg2)
canTakeItem(Container arg0, int arg1, ItemStack arg2)
method_49104(class_1263 arg0, int arg1, class_1799 arg2)
canTransferTo(Inventory arg0, int arg1, ItemStack arg2)
m_271862_(C_464_ p_281387_, int p_283257_, C_1391_ arg2)
public int
ac_()
getMaxStackSize()
method_5444()
getMaxCountPerStack()
m_6893_()
public boolean
a(byo arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUse(PlayerEntity arg0)
m_6542_(C_1141_ arg0)
public boolean
b(int arg0, cfz arg1)
canPlaceItem(int arg0, ItemStack arg1)
method_5437(int arg0, class_1799 arg1)
isValid(int arg0, ItemStack arg1)
m_7013_(int p_255922_, C_1391_ arg1)
public int
g()
getLastInteractedSlot()
method_47887()
getLastInteractedSlot()
m_262444_()