net.minecraft.world.level.block.entity

public class ShulkerBoxBlockEntity

extends RandomizableContainerBlockEntity implements WorldlyContainer

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable, RandomizableContainer, WorldlyContainer

dwj
net.minecraft.world.level.block.entity.ShulkerBoxBlockEntity
net.minecraft.class_2627
net.minecraft.block.entity.ShulkerBoxBlockEntity
net.minecraft.world.level.block.entity.TileEntityShulkerBox

Field summary

Modifier and TypeField
public static final int
d
COLUMNS
field_31354
field_31354
public static final int
e
ROWS
field_31355
field_31355
public static final int
f
CONTAINER_SIZE
field_31356
INVENTORY_SIZE
public static final int
g
EVENT_SET_OPEN_COUNT
field_31357
field_31357
public static final int
h
OPENING_TICK_LENGTH
field_31358
field_31358
public static final float
i
MAX_LID_HEIGHT
field_31359
field_31359
public static final float
j
MAX_LID_ROTATION
field_31360
field_31360
private static final int[]
k
SLOTS
field_12059
AVAILABLE_SLOTS
private NonNullList<ItemStack>
n
itemStacks
field_12054
inventory
private int
r
openCount
field_12053
viewerCount
private ShulkerBoxBlockEntity$AnimationStatus
s
animationStatus
field_12057
animationStage
private float
t
progress
field_12056
animationProgress
private float
u
progressOld
field_12055
prevAnimationProgress
private final DyeColor
v
color
field_12060
cachedColor

Constructor summary

ModifierConstructor
public (DyeColor color, BlockPos pos, BlockState state)
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public static void
a(dhi arg0, jh arg1, dxv arg2, dwj arg3)
tick(Level arg0, BlockPos arg1, BlockState arg2, ShulkerBoxBlockEntity arg3)
method_31694(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_2627 arg3)
tick(World world, BlockPos pos, BlockState state, ShulkerBoxBlockEntity blockEntity)
private void
b(dhi arg0, jh arg1, dxv arg2)
updateAnimation(Level arg0, BlockPos arg1, BlockState arg2)
method_11318(class_1937 arg0, class_2338 arg1, class_2680 arg2)
updateAnimation(World world, BlockPos pos, BlockState state)
public ShulkerBoxBlockEntity$AnimationStatus
k()
getAnimationStatus()
method_11313()
getAnimationStage()
public AABB
a(dxv arg0)
getBoundingBox(BlockState arg0)
method_11314(class_2680 arg0)
getBoundingBox(BlockState state)
private void
c(dhi arg0, jh arg1, dxv arg2)
moveCollidedEntities(Level arg0, BlockPos arg1, BlockState arg2)
method_11316(class_1937 arg0, class_2338 arg1, class_2680 arg2)
pushEntities(World world, BlockPos pos, BlockState state)
public int
b()
getContainerSize()
method_5439()
size()
public boolean
a_(int arg0, int arg1)
triggerEvent(int arg0, int arg1)
method_11004(int arg0, int arg1)
onSyncedBlockEvent(int arg0, int arg1)
private static void
d(dhi arg0, jh arg1, dxv arg2)
doNeighborUpdates(Level arg0, BlockPos arg1, BlockState arg2)
method_20047(class_1937 arg0, class_2338 arg1, class_2680 arg2)
updateNeighborStates(World world, BlockPos pos, BlockState state)
public void
c_(cpx arg0)
startOpen(Player arg0)
method_5435(class_1657 arg0)
onOpen(PlayerEntity arg0)
public void
c(cpx arg0)
stopOpen(Player arg0)
method_5432(class_1657 arg0)
onClose(PlayerEntity arg0)
protected Component
j()
getDefaultName()
method_17823()
getContainerName()
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 void
e(ux arg0, js$a arg1)
loadFromTag(CompoundTag arg0, HolderLookup$Provider arg1)
method_11319(class_2487 arg0, class_7225$class_7874 arg1)
readInventoryNbt(NbtCompound nbt, RegistryWrapper$WrapperLookup registries)
protected NonNullList<ItemStack>
f()
getItems()
method_11282()
getHeldStacks()
protected void
a(jz<cxp> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> arg0)
setHeldStacks(DefaultedList<ItemStack> arg0)
public int[]
a(jm arg0)
getSlotsForFace(Direction arg0)
method_5494(class_2350 arg0)
getAvailableSlots(Direction arg0)
public boolean
a(int arg0, cxp arg1, jm arg2)
canPlaceItemThroughFace(int arg0, ItemStack arg1, Direction arg2)
method_5492(int arg0, class_1799 arg1, class_2350 arg2)
canInsert(int arg0, ItemStack arg1, Direction arg2)
public boolean
b(int arg0, cxp arg1, jm arg2)
canTakeItemThroughFace(int arg0, ItemStack arg1, Direction arg2)
method_5493(int arg0, class_1799 arg1, class_2350 arg2)
canExtract(int arg0, ItemStack arg1, Direction arg2)
public float
a(float arg0)
getProgress(float arg0)
method_11312(float arg0)
getAnimationProgress(float delta)
public DyeColor
t()
getColor()
method_11320()
getColor()
protected AbstractContainerMenu
a(int arg0, cpw arg1)
createMenu(int arg0, Inventory arg1)
method_5465(int arg0, class_1661 arg1)
createScreenHandler(int arg0, PlayerInventory arg1)
public boolean
u()
isClosed()
method_27093()
suffocates()