net.minecraft.world.level.block

public class ShulkerBoxBlock

extends BaseEntityBlock

All mapped superinterfaces:

ItemLike, EntityBlock

brn
net.minecraft.world.level.block.ShulkerBoxBlock
net.minecraft.class_2480
net.minecraft.block.ShulkerBoxBlock
net.minecraft.block.ShulkerBoxBlock
net.minecraft.server.v1_14_R1.BlockShulkerBox

Field summary

Modifier and TypeField
public static final EnumProperty<Direction>
a
FACING
field_11496
FACING
field_190957_a
public static final ResourceLocation
b
CONTENTS
field_11495
CONTENTS
field_220169_b
private final DyeColor
c
color
field_11494
color
field_190958_b
color

Constructor summary

ModifierConstructor
public (DyeColor color, Block$Properties settings)

Method summary

Modifier and TypeMethod
public BlockEntity
a(bhb arg0)
newBlockEntity(BlockGetter arg0)
method_10123(class_1922 arg0)
createBlockEntity(BlockView arg0)
func_196283_a_(IBlockReader arg0)
createTile(IBlockAccess arg0)
public boolean
c(bvt arg0, bhb arg1, ew arg2)
isViewBlocking(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_16362(class_2680 arg0, class_1922 arg1, class_2338 arg2)
canSuffocate(BlockState arg0, BlockView arg1, BlockPos arg2)
func_220060_c(BlockState arg0, IBlockReader arg1, BlockPos arg2)
public RenderShape
c(bvt arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
func_149645_b(BlockState arg0)
public boolean
a(bvt arg0, bhr arg1, ew arg2, awg arg3, ahi arg4, csd 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)
activate(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
func_220051_a(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
interact(IBlockData arg0, World arg1, BlockPosition arg2, EntityHuman arg3, EnumHand arg4, MovingObjectPositionBlock arg5)
public BlockState
a(ban arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
protected void
a(bvu$a<bmv, bvt> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
public void
a(bhr arg0, ew arg1, bvt arg2, awg 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)
func_176208_a(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
public List<ItemStack>
a(bvt arg0, coy$a arg1)
getDrops(BlockState arg0, LootContext$Builder arg1)
method_9560(class_2680 arg0, class_47$class_48 arg1)
getDroppedStacks(BlockState arg0, LootContext$Builder arg1)
func_220076_a(BlockState arg0, LootContext$Builder arg1)
public void
a(bhr arg0, ew arg1, bvt arg2, aix arg3, bcj 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)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
func_180633_a(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
postPlace(World arg0, BlockPosition arg1, IBlockData arg2, EntityLiving arg3, ItemStack arg4)
public void
a(bvt arg0, bhr arg1, ew arg2, bvt 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)
onBlockRemoved(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
func_196243_a(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
remove(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public PushReaction
i(bvt arg0)
getPistonPushReaction(BlockState arg0)
method_9527(class_2680 arg0)
getPistonBehavior(BlockState arg0)
func_149656_h(BlockState arg0)
getPushReaction(IBlockData arg0)
public VoxelShape
a(bvt arg0, bhb arg1, ew arg2, csn 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, EntityContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public boolean
f(bvt arg0)
canOcclude(BlockState arg0)
method_9601(class_2680 arg0)
isOpaque(BlockState arg0)
func_200124_e(BlockState arg0)
public boolean
b(bvt arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
func_149740_M(BlockState arg0)
isComplexRedstone(IBlockData arg0)
public int
a(bvt arg0, bhr arg1, ew 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)
func_180641_l(BlockState arg0, World arg1, BlockPos arg2)
public static Block
a(bbg arg0)
getBlockByColor(DyeColor arg0)
method_10525(class_1767 arg0)
get(DyeColor dyeColor)
func_190952_a(DyeColor arg0)
public DyeColor
d()
getColor()
method_10528()
getColor()
func_190956_e()
public static ItemStack
b(bbg arg0)
getColoredItemStack(DyeColor arg0)
method_10529(class_1767 arg0)
getItemStack(DyeColor color)
func_190953_b(DyeColor arg0)
public BlockState
a(bvt arg0, brg arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
func_185499_a(BlockState arg0, Rotation arg1)
public BlockState
a(bvt arg0, bqg arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
func_185471_a(BlockState arg0, Mirror arg1)
public boolean
d(bvt arg0)
hasCustomBreakingProgress(BlockState arg0)
method_9589(class_2680 arg0)
hasBlockEntityBreakingRender(BlockState arg0)
func_190946_v(BlockState arg0)
public void
a(bcj arg0, bhb arg1, List<jo> arg2, bdr 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)
buildTooltip(ItemStack arg0, BlockView arg1, List<Text> arg2, TooltipContext arg3)
func_190948_a(ItemStack arg0, IBlockReader arg1, List<ITextComponent> arg2, ITooltipFlag arg3)
public ItemStack
a(bhb arg0, ew arg1, bvt arg2)
getCloneItemStack(BlockGetter arg0, BlockPos arg1, BlockState arg2)
method_9574(class_1922 arg0, class_2338 arg1, class_2680 arg2)
getPickStack(BlockView arg0, BlockPos arg1, BlockState arg2)
func_185473_a(IBlockReader arg0, BlockPos arg1, BlockState arg2)
public static DyeColor
b(bce arg0)
getColorFromItem(Item arg0)
method_10527(class_1792 arg0)
getColor(Item item)
func_190955_b(Item arg0)
public static DyeColor
e(bmv arg0)
getColorFromBlock(Block arg0)
method_10526(class_2248 arg0)
getColor(Block block)
func_190954_c(Block arg0)