net.minecraft.world.level.block

public class ShulkerBoxBlock

extends BaseEntityBlock

All mapped superinterfaces:

ItemLike, EntityBlock

bzs
net.minecraft.world.level.block.ShulkerBoxBlock
net.minecraft.class_2480
net.minecraft.block.ShulkerBoxBlock
net.minecraft.block.ShulkerBoxBlock
net.minecraft.server.v1_16_R3.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, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public BlockEntity
a(brc arg0)
newBlockEntity(BlockGetter arg0)
method_10123(class_1922 arg0)
createBlockEntity(BlockView arg0)
func_196283_a_(IBlockReader arg0)
createTile(IBlockAccess arg0)
public RenderShape
b(ceh arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
func_149645_b(BlockState arg0)
public InteractionResult
a(ceh arg0, brx arg1, fx arg2, bfw arg3, aot arg4, dcj 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)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
func_225533_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(bny arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
protected void
a(cei$a<buo, ceh> 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(brx arg0, fx arg1, ceh arg2, bfw 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(ceh arg0, cyv$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(brx arg0, fx arg1, ceh arg2, aqm arg3, bmb 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(ceh arg0, brx arg1, fx arg2, ceh 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)
onStateReplaced(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
f(ceh arg0)
getPistonPushReaction(BlockState arg0)
method_9527(class_2680 arg0)
getPistonBehavior(BlockState arg0)
func_149656_h(BlockState arg0)
getPushReaction(IBlockData arg0)
public VoxelShape
b(ceh arg0, brc arg1, fx arg2, dcs 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)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public boolean
a(ceh arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
func_149740_M(BlockState arg0)
isComplexRedstone(IBlockData arg0)
public int
a(ceh arg0, brx arg1, fx 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(bkx arg0)
getBlockByColor(DyeColor arg0)
method_10525(class_1767 arg0)
get(DyeColor dyeColor)
func_190952_a(DyeColor arg0)
public DyeColor
c()
getColor()
method_10528()
getColor()
func_190956_e()
public static ItemStack
b(bkx arg0)
getColoredItemStack(DyeColor arg0)
method_10529(class_1767 arg0)
getItemStack(DyeColor color)
func_190953_b(DyeColor arg0)
public BlockState
a(ceh arg0, bzm 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(ceh arg0, byg 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 void
a(bmb arg0, brc arg1, List<nr> arg2, bnl 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)
appendTooltip(ItemStack arg0, BlockView arg1, List<Text> arg2, TooltipContext arg3)
func_190948_a(ItemStack arg0, IBlockReader arg1, List<ITextComponent> arg2, ITooltipFlag arg3)
public ItemStack
a(brc arg0, fx arg1, ceh 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(blx arg0)
getColorFromItem(Item arg0)
method_10527(class_1792 arg0)
getColor(Item item)
func_190955_b(Item arg0)
public static DyeColor
c(buo arg0)
getColorFromBlock(Block arg0)
method_10526(class_2248 arg0)
getColor(Block block)
func_190954_c(Block arg0)