net.minecraft.world.level.block

public class ShulkerBoxBlock

extends BaseEntityBlock

All mapped superinterfaces:

ItemLike, EntityBlock

bzp
net.minecraft.world.level.block.ShulkerBoxBlock
net.minecraft.class_2480
net.minecraft.block.ShulkerBoxBlock
net.minecraft.block.ShulkerBoxBlock
net.minecraft.server.v1_16_R2.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(bqz arg0)
newBlockEntity(BlockGetter arg0)
method_10123(class_1922 arg0)
createBlockEntity(BlockView arg0)
func_196283_a_(IBlockReader arg0)
createTile(IBlockAccess arg0)
public RenderShape
b(cee arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
func_149645_b(BlockState arg0)
public InteractionResult
a(cee arg0, bru arg1, fx arg2, bft arg3, aoq arg4, dcg 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(bnv arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
protected void
a(cef$a<bul, cee> 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(bru arg0, fx arg1, cee arg2, bft 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(cee arg0, cys$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(bru arg0, fx arg1, cee arg2, aqj arg3, bly 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(cee arg0, bru arg1, fx arg2, cee 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(cee arg0)
getPistonPushReaction(BlockState arg0)
method_9527(class_2680 arg0)
getPistonBehavior(BlockState arg0)
func_149656_h(BlockState arg0)
getPushReaction(IBlockData arg0)
public VoxelShape
b(cee arg0, bqz arg1, fx arg2, dcp 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(cee arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
func_149740_M(BlockState arg0)
isComplexRedstone(IBlockData arg0)
public int
a(cee arg0, bru 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(bku 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(bku arg0)
getColoredItemStack(DyeColor arg0)
method_10529(class_1767 arg0)
getItemStack(DyeColor color)
func_190953_b(DyeColor arg0)
public BlockState
a(cee arg0, bzj 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(cee arg0, byd 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(bly arg0, bqz arg1, List<nr> arg2, bni 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(bqz arg0, fx arg1, cee 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(blu arg0)
getColorFromItem(Item arg0)
method_10527(class_1792 arg0)
getColor(Item item)
func_190955_b(Item arg0)
public static DyeColor
c(bul arg0)
getColorFromBlock(Block arg0)
method_10526(class_2248 arg0)
getColor(Block block)
func_190954_c(Block arg0)