net.minecraft.world.level.block

public class ChestBlock

extends AbstractChestBlock<ChestBlockEntity> implements SimpleWaterloggedBlock

All mapped superinterfaces:

ItemLike, EntityBlock, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

bpw
net.minecraft.world.level.block.ChestBlock
net.minecraft.class_2281
net.minecraft.block.ChestBlock
net.minecraft.block.ChestBlock
net.minecraft.server.v1_15_R1.BlockChest

Field summary

Modifier and TypeField
public static final DirectionProperty
b
FACING
field_10768
FACING
field_176459_a
FACING
public static final EnumProperty<ChestType>
c
TYPE
field_10770
CHEST_TYPE
field_196314_b
public static final BooleanProperty
d
WATERLOGGED
field_10772
WATERLOGGED
field_204511_c
protected static final VoxelShape
e
NORTH_AABB
field_10767
DOUBLE_NORTH_SHAPE
field_196316_c
protected static final VoxelShape
f
SOUTH_AABB
field_10771
DOUBLE_SOUTH_SHAPE
field_196317_y
protected static final VoxelShape
g
WEST_AABB
field_10773
DOUBLE_WEST_SHAPE
field_196318_z
protected static final VoxelShape
h
EAST_AABB
field_10769
DOUBLE_EAST_SHAPE
field_196313_A
protected static final VoxelShape
i
AABB
field_10774
SINGLE_SHAPE
field_196315_B
private static final DoubleBlockCombiner$Combiner<ChestBlockEntity, Optional<Container>>
j
CHEST_COMBINER
field_17356
INVENTORY_RETRIEVER
field_220109_i
private static final DoubleBlockCombiner$Combiner<ChestBlockEntity, Optional<MenuProvider>>
k
MENU_PROVIDER_COMBINER
field_17357
NAME_RETRIEVER
field_220110_j

Constructor summary

ModifierConstructor
protected (Block$Properties settings, Supplier<BlockEntityType<? extends ChestBlockEntity>> arg1)

Method summary

Modifier and TypeMethod
public static DoubleBlockCombiner$BlockType
h(byj arg0)
getBlockType(BlockState arg0)
method_24169(class_2680 arg0)
getDoubleBlockType(BlockState state)
func_226919_h_(BlockState arg0)
public RenderShape
c(byj arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
func_149645_b(BlockState arg0)
public BlockState
a(byj arg0, fp arg1, byj arg2, bjx arg3, fk arg4, fk arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
func_196271_a(BlockState arg0, Direction arg1, BlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
updateState(IBlockData arg0, EnumDirection arg1, IBlockData arg2, GeneratorAccess arg3, BlockPosition arg4, BlockPosition arg5)
public VoxelShape
a(byj arg0, bjg arg1, fk arg2, cvq 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 static Direction
i(byj arg0)
getConnectedDirection(BlockState arg0)
method_9758(class_2680 arg0)
getFacing(BlockState state)
func_196311_i(BlockState arg0)
public BlockState
a(bcq arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
public FluidState
a_(byj arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
func_204507_t(BlockState arg0)
private Direction
a(bcq arg0, fp arg1)
candidatePartnerFacing(BlockPlaceContext arg0, Direction arg1)
method_9753(class_1750 arg0, class_2350 arg1)
getNeighborChestDirection(ItemPlacementContext ctx, Direction dir)
func_196312_a(BlockItemUseContext arg0, Direction arg1)
public void
a(bjw arg0, fk arg1, byj arg2, akz arg3, ben 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(byj arg0, bjw arg1, fk arg2, byj 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 InteractionResult
a(byj arg0, bjw arg1, fk arg2, ayj arg3, ajk arg4, cvg 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)
protected Stat<ResourceLocation>
c()
getOpenChestStat()
method_9755()
getOpenStat()
func_196310_d()
public static Container
a(bpw arg0, byj arg1, bjw arg2, fk arg3, boolean arg4)
getContainer(ChestBlock arg0, BlockState arg1, Level arg2, BlockPos arg3, boolean arg4)
method_17458(class_2281 arg0, class_2680 arg1, class_1937 arg2, class_2338 arg3, boolean arg4)
getInventory(ChestBlock block, BlockState state, World world, BlockPos pos, boolean ignoreBlocked)
func_226916_a_(ChestBlock arg0, BlockState arg1, World arg2, BlockPos arg3, boolean arg4)
getInventory(BlockChest arg0, IBlockData arg1, World arg2, BlockPosition arg3, boolean arg4)
public DoubleBlockCombiner$NeighborCombineResult<? extends ChestBlockEntity>
a(byj arg0, bjw arg1, fk arg2, boolean arg3)
combine(BlockState arg0, Level arg1, BlockPos arg2, boolean arg3)
method_24167(class_2680 arg0, class_1937 arg1, class_2338 arg2, boolean arg3)
getBlockEntitySource(BlockState arg0, World arg1, BlockPos arg2, boolean arg3)
func_225536_a_(BlockState arg0, World arg1, BlockPos arg2, boolean arg3)
public MenuProvider
b(byj arg0, bjw arg1, fk arg2)
getMenuProvider(BlockState arg0, Level arg1, BlockPos arg2)
method_17454(class_2680 arg0, class_1937 arg1, class_2338 arg2)
createContainerFactory(BlockState arg0, World arg1, BlockPos arg2)
func_220052_b(BlockState arg0, World arg1, BlockPos arg2)
getInventory(IBlockData arg0, World arg1, BlockPosition arg2)
public BlockEntity
a(bjg arg0)
newBlockEntity(BlockGetter arg0)
method_10123(class_1922 arg0)
createBlockEntity(BlockView arg0)
func_196283_a_(IBlockReader arg0)
createTile(IBlockAccess arg0)
public static boolean
a(bjx arg0, fk arg1)
isChestBlockedAt(LevelAccessor arg0, BlockPos arg1)
method_9756(class_1936 arg0, class_2338 arg1)
isChestBlocked(IWorld world, BlockPos pos)
func_220108_a(IWorld arg0, BlockPos arg1)
private static boolean
a(bjg arg0, fk arg1)
isBlockedChestByBlock(BlockGetter arg0, BlockPos arg1)
method_9757(class_1922 arg0, class_2338 arg1)
hasBlockOnTop(BlockView view, BlockPos pos)
func_176456_n(IBlockReader arg0, BlockPos arg1)
private static boolean
b(bjx arg0, fk arg1)
isCatSittingOnChest(LevelAccessor arg0, BlockPos arg1)
method_9754(class_1936 arg0, class_2338 arg1)
hasOcelotOnTop(IWorld world, BlockPos pos)
func_220107_b(IWorld arg0, BlockPos arg1)
public boolean
b(byj arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
func_149740_M(BlockState arg0)
isComplexRedstone(IBlockData arg0)
public int
a(byj arg0, bjw arg1, fk 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 BlockState
a(byj arg0, btu 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(byj arg0, bsu 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)
protected void
a(byk$a<bph, byj> 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 boolean
a(byj arg0, bjg arg1, fk arg2, cqr arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPlaceAtSide(BlockState arg0, BlockView arg1, BlockPos arg2, BlockPlacementEnvironment arg3)
func_196266_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
public static DoubleBlockCombiner$Combiner<ChestBlockEntity, it.unimi.dsi.fastutil.floats.Float2FloatFunction>
a(bxe arg0)
opennessCombiner(LidBlockEntity arg0)
method_24166(class_2618 arg0)
getAnimationProgressRetriever(ChestAnimationProgress arg0)
func_226917_a_(IChestLid arg0)