net.minecraft.block

public class BedBlock

extends HorizontalFacingBlock implements BlockEntityProvider

All mapped superinterfaces:

ItemConvertible, BlockEntityProvider

bml
net.minecraft.class_2244
net.minecraft.block.BedBlock
net.minecraft.block.BedBlock
net.minecraft.block.BedBlock
net.minecraft.block.BedBlock

Field summary

Modifier and TypeField
public static final EnumProperty<BedPart>
a
field_9967
PART
PART
field_176472_a
PART
public static final BooleanProperty
b
field_9968
OCCUPIED
OCCUPIED
field_176471_b
OCCUPIED
protected static final VoxelShape
c
field_16788
TOP_SHAPE
f_15727873
field_220176_c
field_220176_c
protected static final VoxelShape
d
field_16782
LEG_1_SHAPE
f_98563681
field_220177_d
field_220177_d
protected static final VoxelShape
e
field_16784
LEG_2_SHAPE
f_52202834
field_220178_e
field_220178_e
protected static final VoxelShape
f
field_16786
LEG_3_SHAPE
f_82211270
field_220179_f
field_220179_f
protected static final VoxelShape
g
field_16789
LEG_4_SHAPE
f_13941959
field_220180_g
field_220180_g
protected static final VoxelShape
h
field_16787
NORTH_SHAPE
f_07630343
field_220181_h
field_220181_h
protected static final VoxelShape
i
field_16785
SOUTH_SHAPE
f_43105172
field_220182_i
field_220182_i
protected static final VoxelShape
j
field_16783
WEST_SHAPE
f_53168933
field_220183_j
field_220183_j
protected static final VoxelShape
k
field_16790
EAST_SHAPE
f_49284540
field_220184_k
field_220184_k
private final DyeColor
w
field_9966
color
color
field_196352_y
color

Constructor summary

ModifierConstructor
public (DyeColor color, Block$Settings properties)

Method summary

Modifier and TypeMethod
public MaterialColor
e(bvo arg0, bgw arg1, ev arg2)
method_9602(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getMapColor(BlockState arg0, BlockView arg1, BlockPos arg2)
getMapColor(BlockState arg0, BlockView arg1, BlockPos arg2)
func_180659_g(BlockState arg0, IBlockReader arg1, BlockPos arg2)
getMaterialColor(BlockState arg0, IBlockReader arg1, BlockPos arg2)
public boolean
a(bvo arg0, bhm arg1, ev arg2, awb arg3, ahf arg4, crx 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)
use(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, InteractionHand arg4, BlockHitResult arg5)
func_220051_a(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
onBlockActivated(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
public void
a(bhm arg0, ev arg1, ail arg2, float arg3)
method_9554(class_1937 arg0, class_2338 arg1, class_1297 arg2, float arg3)
onLandedUpon(World arg0, BlockPos arg1, Entity arg2, float arg3)
onFallenOn(World arg0, BlockPos arg1, Entity arg2, float arg3)
func_180658_a(World arg0, BlockPos arg1, Entity arg2, float arg3)
onFallenUpon(World arg0, BlockPos arg1, Entity arg2, float arg3)
public void
a(bgw arg0, ail arg1)
method_9502(class_1922 arg0, class_1297 arg1)
onEntityLand(BlockView arg0, Entity arg1)
beforeCollision(BlockView arg0, Entity arg1)
func_176216_a(IBlockReader arg0, Entity arg1)
onLanded(IBlockReader arg0, Entity arg1)
public BlockState
a(bvo arg0, fa arg1, bvo arg2, bhn arg3, ev arg4, ev 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)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
func_196271_a(BlockState arg0, Direction arg1, BlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
updatePostPlacement(BlockState arg0, Direction arg1, BlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
private static Direction
a(bwd arg0, fa arg1)
method_9488(class_2742 arg0, class_2350 arg1)
getDirectionTowardsOtherPart(BedPart arg0, Direction arg1)
getConnectedDirection(BedPart part, Direction facing)
func_208070_a(BedPart arg0, Direction arg1)
getDirectionToOther(BedPart arg0, Direction arg1)
public void
a(bhm arg0, awb arg1, ev arg2, bvo arg3, btr arg4, bce arg5)
method_9556(class_1937 arg0, class_1657 arg1, class_2338 arg2, class_2680 arg3, class_2586 arg4, class_1799 arg5)
afterBreak(World arg0, PlayerEntity arg1, BlockPos arg2, BlockState arg3, BlockEntity arg4, ItemStack arg5)
afterMinedByPlayer(World arg0, PlayerEntity arg1, BlockPos arg2, BlockState arg3, BlockEntity arg4, ItemStack arg5)
func_180657_a(World arg0, PlayerEntity arg1, BlockPos arg2, BlockState arg3, TileEntity arg4, ItemStack arg5)
harvestBlock(World arg0, PlayerEntity arg1, BlockPos arg2, BlockState arg3, TileEntity arg4, ItemStack arg5)
public void
a(bhm arg0, ev arg1, bvo arg2, awb arg3)
method_9576(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1657 arg3)
onBreak(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
beforeMinedByPlayer(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
func_176208_a(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
onBlockHarvested(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
public BlockState
a(bai arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
getPlacementState(BlockPlaceContext arg0)
func_196258_a(BlockItemUseContext arg0)
getStateForPlacement(BlockItemUseContext arg0)
public VoxelShape
a(bvo arg0, bgw arg1, ev arg2, csg arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, EntityContext arg3)
getShape(BlockState arg0, BlockView arg1, BlockPos arg2, CollisionContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
getShape(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public static Optional<Vec3d>
a(aip<?> arg0, bhp arg1, ev arg2, int arg3)
method_9484(class_1299<?> arg0, class_1941 arg1, class_2338 arg2, int arg3)
findWakeUpPosition(EntityType<?> arg0, ViewableWorld arg1, BlockPos arg2, int arg3)
getSpawnPoint(EntityType<?> arg0, WorldView arg1, BlockPos arg2, int arg3)
func_220172_a(EntityType<?> arg0, IWorldReader arg1, BlockPos arg2, int arg3)
func_220172_a(EntityType<?> arg0, IWorldReader arg1, BlockPos arg2, int arg3)
protected static Optional<Vec3d>
a(aip<?> arg0, bhp arg1, ev arg2)
method_9486(class_1299<?> arg0, class_1941 arg1, class_2338 arg2)
canWakeUpAt(EntityType<?> arg0, ViewableWorld arg1, BlockPos arg2)
isValidSpawnPos(EntityType<?> arg0, WorldView arg1, BlockPos arg2)
func_220175_a(EntityType<?> arg0, IWorldReader arg1, BlockPos arg2)
func_220175_a(EntityType<?> arg0, IWorldReader arg1, BlockPos arg2)
public PistonBehavior
i(bvo arg0)
method_9527(class_2680 arg0)
getPistonBehavior(BlockState arg0)
getPistonMoveBehavior(BlockState arg0)
func_149656_h(BlockState arg0)
getPushReaction(BlockState arg0)
public BlockRenderLayer
c()
method_9551()
getRenderLayer()
getRenderLayer()
func_180664_k()
getRenderLayer()
public BlockRenderType
c(bvo arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
getRenderType(BlockState arg0)
func_149645_b(BlockState arg0)
getRenderType(BlockState arg0)
protected void
a(bvp$a<bmq, bvo> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateFactory$Builder<Block, BlockState> arg0)
buildStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
fillStateContainer(StateContainer$Builder<Block, BlockState> arg0)
public BlockEntity
a(bgw arg0)
method_10123(class_1922 arg0)
createBlockEntity(BlockView arg0)
createBlockEntity(BlockView arg0)
func_196283_a_(IBlockReader arg0)
createNewTileEntity(IBlockReader arg0)
public void
a(bhm arg0, ev arg1, bvo arg2, aiu arg3, bce 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)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
func_180633_a(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
onBlockPlacedBy(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
public boolean
a(bvo arg0, bgw arg1, ev arg2, cnn arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPlaceAtSide(BlockState arg0, BlockView arg1, BlockPos arg2, BlockPlacementEnvironment arg3)
canWalkThrough(BlockState arg0, BlockView arg1, BlockPos arg2, EntityNavigationType arg3)
func_196266_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
allowsMovement(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
public static Direction
a(bgw arg0, ev arg1)
method_18476(class_1922 arg0, class_2338 arg1)
getDirection(BlockView arg0, BlockPos arg1)
m_86268873(BlockView arg0, BlockPos arg1)
func_220174_a(IBlockReader arg0, BlockPos arg1)
func_220174_a(IBlockReader arg0, BlockPos arg1)
public boolean
d(bvo arg0)
method_9589(class_2680 arg0)
hasBlockEntityBreakingRender(BlockState arg0)
hasCustomMiningProgress(BlockState arg0)
func_190946_v(BlockState arg0)
hasCustomBreakingProgress(BlockState arg0)
public DyeColor
d()
method_9487()
getColor()
getColor()
func_196350_d()
getColor()
public long
a(bvo arg0, ev arg1)
method_9535(class_2680 arg0, class_2338 arg1)
getRenderingSeed(BlockState arg0, BlockPos arg1)
getSeed(BlockState arg0, BlockPos arg1)
func_209900_a(BlockState arg0, BlockPos arg1)
getPositionRandom(BlockState arg0, BlockPos arg1)