net.minecraft.world.level.block.entity

public class ShulkerBoxBlockEntity

extends RandomizableContainerBlockEntity implements WorldlyContainer

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable, WorldlyContainer

dec
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
c
COLUMNS
field_31354
field_31354
f_155657_
public static final int
f
ROWS
field_31355
field_31355
f_155658_
public static final int
g
CONTAINER_SIZE
field_31356
INVENTORY_SIZE
f_155659_
public static final int
j
EVENT_SET_OPEN_COUNT
field_31357
field_31357
f_155660_
public static final int
k
OPENING_TICK_LENGTH
field_31358
field_31358
f_155661_
public static final float
l
MAX_LID_HEIGHT
field_31359
field_31359
f_155662_
public static final float
m
MAX_LID_ROTATION
field_31360
field_31360
f_155663_
public static final String
n
ITEMS_TAG
field_31361
ITEMS_KEY
f_155664_
private static final int[]
r
SLOTS
field_12059
AVAILABLE_SLOTS
f_59644_
private NonNullList<ItemStack>
s
itemStacks
field_12054
inventory
f_59645_
private int
t
openCount
field_12053
viewerCount
f_59646_
private ShulkerBoxBlockEntity$AnimationStatus
u
animationStatus
field_12057
animationStage
f_59647_
private float
v
progress
field_12056
animationProgress
f_59648_
private float
w
progressOld
field_12055
prevAnimationProgress
f_59649_
private final DyeColor
x
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(cpv arg0, gw arg1, dfj arg2, dec 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(cpv arg0, gw arg1, dfj 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(dfj arg0)
getBoundingBox(BlockState arg0)
method_11314(class_2680 arg0)
getBoundingBox(BlockState state)
m_59666_(C_2064_ arg0)
private void
c(cpv arg0, gw arg1, dfj 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(cpv arg0, gw arg1, dfj 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
d_(cbu arg0)
startOpen(Player arg0)
method_5435(class_1657 arg0)
onOpen(PlayerEntity arg0)
m_5856_(C_1141_ arg0)
public void
c(cbu 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(qw arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
protected void
b(qw arg0)
saveAdditional(CompoundTag arg0)
method_11007(class_2487 arg0)
writeNbt(NbtCompound arg0)
m_183515_(C_4917_ arg0)
public void
f(qw 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(hn<cjf> 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(ha arg0)
getSlotsForFace(Direction arg0)
method_5494(class_2350 arg0)
getAvailableSlots(Direction arg0)
m_7071_(C_4687_ arg0)
public boolean
a(int arg0, cjf arg1, ha 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, cjf arg1, ha 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, cbt 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_()