net.minecraft.world.level.block

public class ShulkerBoxBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

dsz
net.minecraft.world.level.block.ShulkerBoxBlock
net.minecraft.class_2480
net.minecraft.block.ShulkerBoxBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<ShulkerBoxBlock>
a
CODEC
field_46440
CODEC
public static final Map<Direction, VoxelShape>
b
SHAPES_OPEN_SUPPORT
field_55792
SHAPES_BY_DIRECTION
public static final EnumProperty<Direction>
c
FACING
field_11496
FACING
public static final ResourceLocation
d
CONTENTS
field_11495
CONTENTS_DYNAMIC_DROP_ID
private final DyeColor
e
color
field_11494
color

Constructor summary

ModifierConstructor
public (DyeColor color, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<ShulkerBoxBlock>
a()
codec()
method_53969()
getCodec()
public BlockEntity
a(iu arg0, dzo arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
public <T extends BlockEntity> BlockEntityTicker<T>
a(dip arg0, dzo arg1, dwp<T> arg2)
getTicker(Level arg0, BlockState arg1, BlockEntityType<T> arg2)
method_31645(class_1937 arg0, class_2680 arg1, class_2591<T> arg2)
getTicker(World arg0, BlockState arg1, BlockEntityType<T> arg2)
protected InteractionResult
a(dzo arg0, dip arg1, iu arg2, cqs arg3, fds arg4)
useWithoutItem(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, BlockHitResult arg4)
method_55766(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_3965 arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
private static boolean
a(dzo arg0, dip arg1, iu arg2, dya arg3)
canOpen(BlockState arg0, Level arg1, BlockPos arg2, ShulkerBoxBlockEntity arg3)
method_33383(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2627 arg3)
canOpen(BlockState state, World world, BlockPos pos, ShulkerBoxBlockEntity entity)
public BlockState
a(dcl arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected void
a(dzp$a<dlu, dzo> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
public BlockState
a(dip arg0, iu arg1, dzo arg2, cqs arg3)
playerWillDestroy(Level arg0, BlockPos arg1, BlockState arg2, Player arg3)
method_9576(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1657 arg3)
onBreak(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
protected List<ItemStack>
a(dzo arg0, eyq$a arg1)
getDrops(BlockState arg0, LootParams$Builder arg1)
method_9560(class_2680 arg0, class_8567$class_8568 arg1)
getDroppedStacks(BlockState arg0, LootWorldContext$Builder arg1)
protected void
a(dzo arg0, aro arg1, iu arg2, boolean arg3)
affectNeighborsAfterRemoval(BlockState arg0, ServerLevel arg1, BlockPos arg2, boolean arg3)
method_66388(class_2680 arg0, class_3218 arg1, class_2338 arg2, boolean arg3)
onStateReplaced(BlockState arg0, ServerWorld arg1, BlockPos arg2, boolean arg3)
protected VoxelShape
b_(dzo arg0, dhv arg1, iu arg2)
getBlockSupportShape(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_25959(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getSidesShape(BlockState arg0, BlockView arg1, BlockPos arg2)
protected VoxelShape
a(dzo arg0, dhv arg1, iu arg2, feb arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
protected boolean
e_(dzo arg0)
propagatesSkylightDown(BlockState arg0)
method_9579(class_2680 arg0)
isTransparent(BlockState arg0)
protected boolean
c_(dzo arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
protected int
a(dzo arg0, dip arg1, iu arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
public static Block
a(cxq arg0)
getBlockByColor(DyeColor arg0)
method_10525(class_1767 arg0)
get(DyeColor dyeColor)
public DyeColor
b()
getColor()
method_10528()
getColor()
public static ItemStack
b(cxq arg0)
getColoredItemStack(DyeColor arg0)
method_10529(class_1767 arg0)
getItemStack(DyeColor color)
protected BlockState
a(dzo arg0, dsm arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(dzo arg0, dqv arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)