net.minecraft.world.level.block.entity

public class ShulkerBoxBlockEntity

extends RandomizableContainerBlockEntity implements WorldlyContainer, TickableBlockEntity

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable, WorldlyContainer, TickableBlockEntity

cde
net.minecraft.world.level.block.entity.ShulkerBoxBlockEntity
net.minecraft.class_2627
net.minecraft.block.entity.ShulkerBoxBlockEntity
net.minecraft.tileentity.ShulkerBoxTileEntity
net.minecraft.server.v1_16_R3.TileEntityShulkerBox

Field summary

Modifier and TypeField
private static final int[]
a
SLOTS
field_12059
AVAILABLE_SLOTS
field_190595_a
private NonNullList<ItemStack>
b
itemStacks
field_12054
inventory
field_190596_f
contents
private int
c
openCount
field_12053
viewerCount
field_190598_h
viewingCount
private ShulkerBoxBlockEntity$AnimationStatus
i
animationStatus
field_12057
animationStage
field_190599_i
private float
j
progress
field_12056
animationProgress
field_190600_j
private float
k
progressOld
field_12055
prevAnimationProgress
field_190601_k
private DyeColor
l
color
field_12060
cachedColor
field_190602_l
private boolean
m
loadColorFromBlock
field_12058
cachedColorUpdateNeeded
field_204400_o

Constructor summary

ModifierConstructor
public (DyeColor color)
public ()

Method summary

Modifier and TypeMethod
public void
aj_()
tick()
method_16896()
tick()
func_73660_a()
tick()
protected void
h()
updateAnimation()
method_11318()
updateAnimation()
func_190583_o()
public ShulkerBoxBlockEntity$AnimationStatus
j()
getAnimationStatus()
method_11313()
getAnimationStage()
func_190591_p()
public AABB
a(ceh arg0)
getBoundingBox(BlockState arg0)
method_11314(class_2680 arg0)
getBoundingBox(BlockState state)
func_190584_a(BlockState arg0)
public AABB
b(gc arg0)
getBoundingBox(Direction arg0)
method_11311(class_2350 arg0)
getBoundingBox(Direction openDirection)
func_190587_b(Direction arg0)
private AABB
c(gc arg0)
getTopBoundingBox(Direction arg0)
method_11315(class_2350 arg0)
getCollisionBox(Direction facing)
func_190588_c(Direction arg0)
private void
m()
moveCollidedEntities()
method_11316()
pushEntities()
func_190589_G()
public int
Z_()
getContainerSize()
method_5439()
size()
func_70302_i_()
getSize()
public boolean
a_(int arg0, int arg1)
triggerEvent(int arg0, int arg1)
method_11004(int arg0, int arg1)
onSyncedBlockEvent(int arg0, int arg1)
func_145842_c(int arg0, int arg1)
setProperty(int arg0, int arg1)
private void
x()
doNeighborUpdates()
method_20047()
updateNeighborStates()
func_213975_v()
public void
c_(bfw arg0)
startOpen(Player arg0)
method_5435(class_1657 arg0)
onOpen(PlayerEntity arg0)
func_174889_b(PlayerEntity arg0)
startOpen(EntityHuman arg0)
public void
b_(bfw arg0)
stopOpen(Player arg0)
method_5432(class_1657 arg0)
onClose(PlayerEntity arg0)
func_174886_c(PlayerEntity arg0)
closeContainer(EntityHuman arg0)
protected Component
g()
getDefaultName()
method_17823()
getContainerName()
func_213907_g()
getContainerName()
public void
a(ceh arg0, md arg1)
load(BlockState arg0, CompoundTag arg1)
method_11014(class_2680 arg0, class_2487 arg1)
fromTag(BlockState arg0, NbtCompound arg1)
func_230337_a_(BlockState arg0, CompoundNBT arg1)
load(IBlockData arg0, NBTTagCompound arg1)
public CompoundTag
a(md arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
writeNbt(NbtCompound arg0)
func_189515_b(CompoundNBT arg0)
save(NBTTagCompound arg0)
public void
d(md arg0)
loadFromTag(CompoundTag arg0)
method_11319(class_2487 arg0)
readInventoryNbt(NbtCompound nbt)
func_190586_e(CompoundNBT arg0)
public CompoundTag
e(md arg0)
saveToTag(CompoundTag arg0)
method_11317(class_2487 arg0)
writeInventoryNbt(NbtCompound nbt)
func_190580_f(CompoundNBT arg0)
protected NonNullList<ItemStack>
f()
getItems()
method_11282()
getInvStackList()
func_190576_q()
protected void
a(gj<bmb> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> arg0)
setInvStackList(DefaultedList<ItemStack> arg0)
func_199721_a(NonNullList<ItemStack> arg0)
public int[]
a(gc arg0)
getSlotsForFace(Direction arg0)
method_5494(class_2350 arg0)
getAvailableSlots(Direction arg0)
func_180463_a(Direction arg0)
getSlotsForFace(EnumDirection arg0)
public boolean
a(int arg0, bmb arg1, gc 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)
func_180462_a(int arg0, ItemStack arg1, Direction arg2)
canPlaceItemThroughFace(int arg0, ItemStack arg1, EnumDirection arg2)
public boolean
b(int arg0, bmb arg1, gc 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)
func_180461_b(int arg0, ItemStack arg1, Direction arg2)
canTakeItemThroughFace(int arg0, ItemStack arg1, EnumDirection arg2)
public float
a(float arg0)
getProgress(float arg0)
method_11312(float arg0)
getAnimationProgress(float delta)
func_190585_a(float arg0)
protected AbstractContainerMenu
a(int arg0, bfv arg1)
createMenu(int arg0, Inventory arg1)
method_5465(int arg0, class_1661 arg1)
createScreenHandler(int arg0, PlayerInventory arg1)
func_213906_a(int arg0, PlayerInventory arg1)
createContainer(int arg0, PlayerInventory arg1)
public boolean
l()
isClosed()
method_27093()
suffocates()
func_235676_l_()
public DyeColor
k()
getColor()
method_11320()
getColor()
func_190592_s()