net.minecraft.world.level.block.entity

public class ChiseledBookShelfBlockEntity

extends BlockEntity implements Container

All mapped superinterfaces:

Container, Clearable

dvg
net.minecraft.world.level.block.entity.ChiseledBookShelfBlockEntity
net.minecraft.class_7716
net.minecraft.block.entity.ChiseledBookshelfBlockEntity
net.minecraft.world.level.block.entity.ChiseledBookShelfBlockEntity

Field summary

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

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)
protected void
a(ux arg0, js$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
protected void
b(ux arg0, js$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
public int
f()
count()
method_47587()
getFilledSlotCount()
public void
a()
clearContent()
method_5448()
clear()
public int
b()
getContainerSize()
method_5439()
size()
public boolean
c()
isEmpty()
method_5442()
isEmpty()
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
getStack(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)
public ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
removeStack(int arg0)
public void
a(int arg0, cxp arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
setStack(int arg0, ItemStack arg1)
public boolean
a(btc arg0, int arg1, cxp 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)
public int
ao_()
getMaxStackSize()
method_5444()
getMaxCountPerStack()
public boolean
a(cpx arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUse(PlayerEntity arg0)
public boolean
b(int arg0, cxp arg1)
canPlaceItem(int arg0, ItemStack arg1)
method_5437(int arg0, class_1799 arg1)
isValid(int arg0, ItemStack arg1)
public int
j()
getLastInteractedSlot()
method_47887()
getLastInteractedSlot()
protected void
a(dux$b arg0)
applyImplicitComponents(BlockEntity$DataComponentInput arg0)
method_57568(class_2586$class_9473 arg0)
readComponents(BlockEntity$ComponentsAccess arg0)
protected void
a(kq$a arg0)
collectImplicitComponents(DataComponentMap$Builder arg0)
method_57567(class_9323$class_9324 arg0)
addComponents(ComponentMap$Builder arg0)
public void
a(ux arg0)
removeComponentsFromTag(CompoundTag arg0)
method_57569(class_2487 arg0)
removeFromCopiedStackNbt(NbtCompound arg0)