net.minecraft.world.level.block

public class ShulkerBoxBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

cwm
net.minecraft.world.level.block.ShulkerBoxBlock
net.minecraft.class_2480
net.minecraft.unmapped.C_buvdtidq
net.minecraft.block.ShulkerBoxBlock
net.minecraft.block.ShulkerBoxBlock
net.minecraft.src.C_1893_
net.minecraft.world.level.block.BlockShulkerBox

Field summary

Modifier and TypeField
private static final float
c
OPEN_AABB_SIZE
field_41075
f_mzseguaj
field_41075
OPEN_BOX_SIZE
f_256820_
private static final VoxelShape
d
UP_OPEN_AABB
field_41076
f_emzoruxq
UP_SHAPE
UP_SHAPE
f_256853_
private static final VoxelShape
e
DOWN_OPEN_AABB
field_41077
f_bceivsho
DOWN_SHAPE
DOWN_SHAPE
f_256795_
private static final VoxelShape
f
WES_OPEN_AABB
field_41078
f_msallkml
WEST_SHAPE
WEST_SHAPE
f_256800_
private static final VoxelShape
g
EAST_OPEN_AABB
field_41079
f_ldgxzhyg
EAST_SHAPE
EAST_SHAPE
f_257037_
private static final VoxelShape
h
NORTH_OPEN_AABB
field_41080
f_skahauyi
NORTH_SHAPE
NORTH_SHAPE
f_256867_
private static final VoxelShape
i
SOUTH_OPEN_AABB
field_41081
f_brmygmwh
SOUTH_SHAPE
SOUTH_SHAPE
f_256794_
private static final Map<Direction, VoxelShape>
j
OPEN_SHAPE_BY_DIRECTION
field_41082
f_mlenspkr
SIDES_SHAPES
SHAPES_BY_DIRECTION
f_256830_
public static final EnumProperty<Direction>
a
FACING
field_11496
f_wkcidmzm
FACING
FACING
f_56183_
public static final ResourceLocation
b
CONTENTS
field_11495
f_apudlvny
CONTENTS_DYNAMIC_DROP_ID
CONTENTS_DYNAMIC_DROP_ID
f_56184_
private final DyeColor
k
color
field_11494
f_tdgqhkue
color
color
f_56185_

Constructor summary

ModifierConstructor
public (DyeColor color, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public BlockEntity
a(gu arg0, dcb arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
m_zupvpdxk(C_hynzadkk arg0, C_txtbiemp arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_154553_, C_2064_ arg1)
public <T extends BlockEntity> BlockEntityTicker<T>
a(cmm arg0, dcb arg1, czp<T> arg2)
getTicker(Level arg0, BlockState arg1, BlockEntityType<T> arg2)
method_31645(class_1937 arg0, class_2680 arg1, class_2591<T> arg2)
m_ujgennlh(C_cdctfzbn arg0, C_txtbiemp arg1, C_wgqvodus<T> arg2)
getTicker(World arg0, BlockState arg1, BlockEntityType<T> arg2)
getTicker(World arg0, BlockState arg1, BlockEntityType<T> arg2)
m_142354_(C_1596_ p_154544_, C_2064_ p_154545_, C_1992_<T> arg2)
public RenderShape
b_(dcb arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
m_mjglzdvu(C_txtbiemp arg0)
getRenderType(BlockState arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
public InteractionResult
a(dcb arg0, cmm arg1, gu arg2, byo arg3, bdw arg4, eee arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
m_rocdemyx(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_laxmzoqs arg4, C_jdakttms arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
m_6227_(C_2064_ p_56228_, C_1596_ p_56229_, C_4675_ p_56230_, C_1141_ p_56231_, C_470_ p_56232_, C_3041_ arg5)
private static boolean
a(dcb arg0, cmm arg1, gu arg2, dau arg3)
canOpen(BlockState arg0, Level arg1, BlockPos arg2, ShulkerBoxBlockEntity arg3)
method_33383(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2627 arg3)
m_lciujmec(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_gauehqwp arg3)
canOpen(BlockState state, World world, BlockPos pos, ShulkerBoxBlockEntity entity)
canOpen(BlockState state, World world, BlockPos pos, ShulkerBoxBlockEntity entity)
m_154546_(C_2064_ p_154547_, C_1596_ p_154548_, C_4675_ p_154549_, C_2021_ p_154550_)
public BlockState
a(cih arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected void
a(dcc$a<cpn, dcb> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public void
a(cmm arg0, gu arg1, dcb arg2, byo arg3)
playerWillDestroy(Level arg0, BlockPos arg1, BlockState arg2, Player arg3)
method_9576(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1657 arg3)
m_tjijvtpb(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_jzrpycqo arg3)
onBreak(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
onBreak(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
m_5707_(C_1596_ p_56213_, C_4675_ p_56214_, C_2064_ p_56215_, C_1141_ arg3)
public List<ItemStack>
a(dcb arg0, dzq$a arg1)
getDrops(BlockState arg0, LootParams$Builder arg1)
method_9560(class_2680 arg0, class_8567$class_8568 arg1)
m_tgwcmyam(C_txtbiemp arg0, C_nzsnkdtl$C_oqhigtaq arg1)
getDroppedStacks(BlockState arg0, LootContextParameterSet$Builder arg1)
getDroppedStacks(BlockState arg0, LootContextParameterSet$Builder arg1)
m_49635_(C_2064_ p_287691_, C_286926_$C_286924_ arg1)
public void
a(cmm arg0, gu arg1, dcb arg2, bfz arg3, cfz arg4)
setPlacedBy(Level arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
method_9567(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1309 arg3, class_1799 arg4)
m_fuvqealb(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_usxaxydn arg3, C_sddaxwyk arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
m_6402_(C_1596_ p_56207_, C_4675_ p_56208_, C_2064_ p_56209_, C_524_ p_56210_, C_1391_ arg4)
public void
a(dcb arg0, cmm arg1, gu arg2, dcb arg3, boolean arg4)
onRemove(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
m_rhbsxbgh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6810_(C_2064_ p_56235_, C_1596_ p_56236_, C_4675_ p_56237_, C_2064_ p_56238_, boolean arg4)
public void
a(cfz arg0, cls arg1, List<sw> arg2, chq arg3)
appendHoverText(ItemStack arg0, BlockGetter arg1, List<Component> arg2, TooltipFlag arg3)
method_9568(class_1799 arg0, class_1922 arg1, List<class_2561> arg2, class_1836 arg3)
m_xfcybcsi(C_sddaxwyk arg0, C_peaveboq arg1, List<C_rdaqiwdt> arg2, C_taebrtdw arg3)
appendTooltip(ItemStack arg0, BlockView arg1, List<Text> arg2, TooltipContext arg3)
appendTooltip(ItemStack arg0, BlockView arg1, List<Text> arg2, TooltipContext arg3)
m_5871_(C_1391_ p_56194_, C_1559_ p_56195_, List<C_4996_> p_56196_, C_1431_ arg3)
public VoxelShape
b_(dcb arg0, cls arg1, gu arg2)
getBlockSupportShape(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_25959(class_2680 arg0, class_1922 arg1, class_2338 arg2)
m_wnvttjnv(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2)
getSidesShape(BlockState arg0, BlockView arg1, BlockPos arg2)
getSidesShape(BlockState arg0, BlockView arg1, BlockPos arg2)
m_7947_(C_2064_ p_260305_, C_1559_ p_259168_, C_4675_ arg2)
public VoxelShape
a(dcb arg0, cls arg1, gu arg2, een arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5940_(C_2064_ p_56258_, C_1559_ p_56259_, C_4675_ p_56260_, C_3051_ arg3)
public boolean
d_(dcb arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
m_upxjoscw(C_txtbiemp arg0)
hasComparatorOutput(BlockState arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
public int
a(dcb arg0, cmm arg1, gu arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
m_wtutwlcg(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
m_6782_(C_2064_ p_56224_, C_1596_ p_56225_, C_4675_ arg2)
public ItemStack
a(cls arg0, gu arg1, dcb arg2)
getCloneItemStack(BlockGetter arg0, BlockPos arg1, BlockState arg2)
method_9574(class_1922 arg0, class_2338 arg1, class_2680 arg2)
m_jsiqlbgd(C_peaveboq arg0, C_hynzadkk arg1, C_txtbiemp arg2)
getPickStack(BlockView arg0, BlockPos arg1, BlockState arg2)
getPickStack(BlockView arg0, BlockPos arg1, BlockState arg2)
m_7397_(C_1559_ p_56203_, C_4675_ p_56204_, C_2064_ arg2)
public static DyeColor
b(cfu arg0)
getColorFromItem(Item arg0)
method_10527(class_1792 arg0)
m_ikebfkzo(C_vorddnax arg0)
getColor(Item item)
getColor(Item item)
m_56252_(C_1381_ p_56253_)
public static DyeColor
a(cpn arg0)
getColorFromBlock(Block arg0)
method_10526(class_2248 arg0)
m_jkrenrpm(C_mmxmpdoq arg0)
getColor(Block block)
getColor(Block block)
m_56262_(C_1706_ p_56263_)
public static Block
a(cen arg0)
getBlockByColor(DyeColor arg0)
method_10525(class_1767 arg0)
m_ebdznmod(C_arllgqae arg0)
get(DyeColor dyeColor)
get(DyeColor dyeColor)
m_56190_(C_1353_ p_56191_)
public DyeColor
a()
getColor()
method_10528()
m_ikgriolf()
getColor()
getColor()
m_56261_()
public static ItemStack
b(cen arg0)
getColoredItemStack(DyeColor arg0)
method_10529(class_1767 arg0)
m_qodetxpq(C_arllgqae arg0)
getItemStack(DyeColor color)
getItemStack(DyeColor color)
m_56250_(C_1353_ p_56251_)
public BlockState
a(dcb arg0, cvz arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
m_umbsjste(C_txtbiemp arg0, C_mboglirk arg1)
rotate(BlockState arg0, BlockRotation arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_56244_, C_1886_ arg1)
public BlockState
a(dcb arg0, cui arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
m_ssvaouey(C_txtbiemp arg0, C_qomzaqud arg1)
mirror(BlockState arg0, BlockMirror arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_56241_, C_1838_ arg1)