net.minecraft.world.level.block

public class ChestBlock

extends BaseEntityBlock implements SimpleWaterloggedBlock

All mapped superinterfaces:

ItemLike, EntityBlock, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

bnk
net.minecraft.world.level.block.ChestBlock
net.minecraft.class_2281
net.minecraft.block.ChestBlock
net.minecraft.block.ChestBlock
net.minecraft.server.v1_14_R1.BlockChest

Field summary

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

Constructor summary

ModifierConstructor
protected (Block$Properties settings)

Method summary

Modifier and TypeMethod
public RenderShape
c(bvt arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
func_149645_b(BlockState arg0)
public BlockState
a(bvt arg0, fb arg1, bvt arg2, bhs arg3, ew arg4, ew 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(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 static Direction
j(bvt arg0)
getConnectedDirection(BlockState arg0)
method_9758(class_2680 arg0)
getFacing(BlockState state)
func_196311_i(BlockState arg0)
public BlockState
a(ban arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
public FluidState
g(bvt arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
func_204507_t(BlockState arg0)
private Direction
a(ban arg0, fb 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(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 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)
protected Stat<ResourceLocation>
d()
getOpenChestStat()
method_9755()
getOpenStat()
func_196310_d()
public static <T> T
a(bvt arg0, bhs arg1, ew arg2, boolean arg3, bnk$a<T> arg4)
combineWithNeigbour(BlockState arg0, LevelAccessor arg1, BlockPos arg2, boolean arg3, ChestBlock$ChestSearchCallback<T> arg4)
method_17459(class_2680 arg0, class_1936 arg1, class_2338 arg2, boolean arg3, class_2281$class_3923<T> arg4)
retrieve(BlockState state, IWorld world, BlockPos pos, boolean allowBlockedChests, ChestBlock$PropertyRetriever<T> arg4)
func_220106_a(BlockState arg0, IWorld arg1, BlockPos arg2, boolean arg3, ChestBlock$InventoryFactory<T> arg4)
getInventory(IBlockData arg0, GeneratorAccess arg1, BlockPosition arg2, boolean arg3, BlockChest$ChestFinder<T> arg4)
public static Container
a(bvt arg0, bhr arg1, ew arg2, boolean arg3)
getContainer(BlockState arg0, Level arg1, BlockPos arg2, boolean arg3)
method_17458(class_2680 arg0, class_1937 arg1, class_2338 arg2, boolean arg3)
getInventory(BlockState arg0, World arg1, BlockPos arg2, boolean arg3)
func_220105_a(BlockState arg0, World arg1, BlockPos arg2, boolean arg3)
getInventory(IBlockData arg0, World arg1, BlockPosition arg2, boolean arg3)
public MenuProvider
b(bvt arg0, bhr arg1, ew 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(bhb arg0)
newBlockEntity(BlockGetter arg0)
method_10123(class_1922 arg0)
createBlockEntity(BlockView arg0)
func_196283_a_(IBlockReader arg0)
createTile(IBlockAccess arg0)
private static boolean
a(bhs arg0, ew 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(bhb arg0, ew 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(bhs arg0, ew 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(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 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)
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 boolean
a(bvt arg0, bhb arg1, ew arg2, cns 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 boolean
d(bvt arg0)
hasCustomBreakingProgress(BlockState arg0)
method_9589(class_2680 arg0)
hasBlockEntityBreakingRender(BlockState arg0)
func_190946_v(BlockState arg0)