net.minecraft.world.level.block.entity

public class ShulkerBoxBlockEntity

extends RandomizableContainerBlockEntity implements WorldlyContainer

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable, WorldlyContainer

cmy
net.minecraft.world.level.block.entity.ShulkerBoxBlockEntity
net.minecraft.class_2627
net.minecraft.block.entity.ShulkerBoxBlockEntity
net.minecraft.src.C_2021_
net.minecraft.world.level.block.entity.TileEntityShulkerBox

Field summary

Modifier and TypeField
public static final int
b
COLUMNS
field_31354
field_31354
f_155657_
public static final int
c
ROWS
field_31355
field_31355
f_155658_
public static final int
f
CONTAINER_SIZE
field_31356
field_31356
f_155659_
public static final int
i
EVENT_SET_OPEN_COUNT
field_31357
field_31357
f_155660_
public static final int
j
OPENING_TICK_LENGTH
field_31358
field_31358
f_155661_
public static final float
k
MAX_LID_HEIGHT
field_31359
field_31359
f_155662_
public static final float
l
MAX_LID_ROTATION
field_31360
field_31360
f_155663_
public static final String
m
ITEMS_TAG
field_31361
ITEMS_KEY
f_155664_
private static final int[]
q
SLOTS
field_12059
AVAILABLE_SLOTS
f_59644_
private NonNullList<ItemStack>
r
itemStacks
field_12054
inventory
f_59645_
private int
s
openCount
field_12053
viewerCount
f_59646_
private ShulkerBoxBlockEntity$AnimationStatus
t
animationStatus
field_12057
animationStage
f_59647_
private float
u
progress
field_12056
animationProgress
f_59648_
private float
v
progressOld
field_12055
prevAnimationProgress
f_59649_
private final DyeColor
w
color
field_12060
cachedColor
f_59650_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static void
a(cad arg0, gh arg1, coc arg2, cmy 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)
m_155672_(C_1596_ p_155673_, C_4675_ p_155674_, C_2064_ p_155675_, C_2021_ p_155676_)
private void
b(cad arg0, gh arg1, coc 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)
m_155679_(C_1596_ p_155681_, C_4675_ p_155682_, C_2064_ arg2)
public ShulkerBoxBlockEntity$AnimationStatus
i()
getAnimationStatus()
method_11313()
getAnimationStage()
m_59700_()
public AABB
a(coc arg0)
getBoundingBox(BlockState arg0)
method_11314(class_2680 arg0)
getBoundingBox(BlockState state)
m_59666_(C_2064_ arg0)
private void
c(cad arg0, gh arg1, coc 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)
m_155683_(C_1596_ p_155685_, C_4675_ p_155686_, C_2064_ arg2)
public int
b()
getContainerSize()
method_5439()
size()
m_6643_()
public boolean
a_(int arg0, int arg1)
triggerEvent(int arg0, int arg1)
method_11004(int arg0, int arg1)
onSyncedBlockEvent(int arg0, int arg1)
m_7531_(int p_59679_, int arg1)
private static void
d(cad arg0, gh arg1, coc 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)
m_155687_(C_1596_ p_155688_, C_4675_ p_155689_, C_2064_ p_155690_)
public void
b_(bnr arg0)
startOpen(Player arg0)
method_5435(class_1657 arg0)
onOpen(PlayerEntity arg0)
m_5856_(C_1141_ arg0)
public void
c_(bnr arg0)
stopOpen(Player arg0)
method_5432(class_1657 arg0)
onClose(PlayerEntity arg0)
m_5785_(C_1141_ arg0)
protected Component
g()
getDefaultName()
method_17823()
getContainerName()
m_6820_()
public void
a(oc arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
protected void
b(oc arg0)
saveAdditional(CompoundTag arg0)
method_11007(class_2487 arg0)
writeNbt(NbtCompound arg0)
m_183515_(C_4917_ arg0)
public void
f(oc arg0)
loadFromTag(CompoundTag arg0)
method_11319(class_2487 arg0)
readInventoryNbt(NbtCompound nbt)
m_59693_(C_4917_ arg0)
protected NonNullList<ItemStack>
f()
getItems()
method_11282()
getInvStackList()
m_7086_()
protected void
a(gt<bue> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> arg0)
setInvStackList(DefaultedList<ItemStack> arg0)
m_6520_(C_4702_<C_1391_> arg0)
public int[]
a(gm arg0)
getSlotsForFace(Direction arg0)
method_5494(class_2350 arg0)
getAvailableSlots(Direction arg0)
m_7071_(C_4687_ arg0)
public boolean
a(int arg0, bue arg1, gm 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)
m_7155_(int p_59664_, C_1391_ p_59665_, C_4687_ arg2)
public boolean
b(int arg0, bue arg1, gm 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)
m_7157_(int p_59683_, C_1391_ p_59684_, C_4687_ arg2)
public float
a(float arg0)
getProgress(float arg0)
method_11312(float arg0)
getAnimationProgress(float delta)
m_59657_(float arg0)
public DyeColor
j()
getColor()
method_11320()
getColor()
m_59701_()
protected AbstractContainerMenu
a(int arg0, bnq arg1)
createMenu(int arg0, Inventory arg1)
method_5465(int arg0, class_1661 arg1)
createScreenHandler(int arg0, PlayerInventory arg1)
m_6555_(int p_59661_, C_1140_ arg1)
public boolean
v()
isClosed()
method_27093()
suffocates()
m_59702_()