net.minecraft.block

public class BedBlock

extends HorizontalFacingBlock implements BlockEntityProvider

All mapped superinterfaces:

ItemLike, BlockEntityProvider

bcq
net.minecraft.class_109
net.minecraft.block.BedBlock
net.minecraft.block.BlockBed
net.minecraft.block.BlockBed

Field summary

Modifier and TypeField
public static final EnumProperty<BedPart>
a
field_17739
PART
field_176472_a
PART
public static final BooleanProperty
b
field_17740
OCCUPIED
field_176471_b
OCCUPIED
protected static final VoxelShape
c
field_17741
SHAPE
field_196351_c
SHAPE
private final DyeColor
o
field_17742
color
field_196352_y
color

Constructor summary

ModifierConstructor
public (DyeColor color, Block$Properties properties)

Method summary

Modifier and TypeMethod
public MapColor
c(blc arg0, axk arg1, el arg2)
method_8680(class_2232 arg0, class_1158 arg1, class_2552 arg2)
getMapColor(BlockState arg0, BlockView arg1, BlockPos arg2)
func_180659_g(IBlockState arg0, IBlockReader arg1, BlockPos arg2)
getMaterialColor(IBlockState arg0, IBlockReader arg1, BlockPos arg2)
public boolean
a(blc arg0, axy arg1, el arg2, aog arg3, adk arg4, eq arg5, float arg6, float arg7, float arg8)
method_421(class_2232 arg0, class_1150 arg1, class_2552 arg2, class_988 arg3, class_2961 arg4, class_1354 arg5, float arg6, float arg7, float arg8)
use(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, InteractionHand arg4, Direction arg5, float arg6, float arg7, float arg8)
func_196250_a(IBlockState arg0, World arg1, BlockPos arg2, EntityPlayer arg3, EnumHand arg4, EnumFacing arg5, float arg6, float arg7, float arg8)
onBlockActivated(IBlockState arg0, World arg1, BlockPos arg2, EntityPlayer arg3, EnumHand arg4, EnumFacing arg5, float arg6, float arg7, float arg8)
private PlayerEntity
a(axy arg0, el arg1)
method_8631(class_1150 arg0, class_2552 arg1)
getOccupant(World world, BlockPos pos)
func_176470_e(World arg0, BlockPos arg1)
getPlayerInBed(World worldIn, BlockPos pos)
public boolean
a(blc arg0)
method_11562(class_2232 arg0)
isCube(BlockState arg0)
func_149686_d(IBlockState arg0)
isFullCube(IBlockState arg0)
public void
a(axy arg0, el arg1, aer arg2, float arg3)
method_8647(class_1150 arg0, class_2552 arg1, class_864 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(axk arg0, aer arg1)
method_8650(class_1158 arg0, class_864 arg1)
beforeCollision(BlockView arg0, Entity arg1)
func_176216_a(IBlockReader arg0, Entity arg1)
onLanded(IBlockReader arg0, Entity arg1)
public BlockState
a(blc arg0, eq arg1, blc arg2, axz arg3, el arg4, el arg5)
method_16575(class_2232 arg0, class_1354 arg1, class_2232 arg2, class_3598 arg3, class_2552 arg4, class_2552 arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
func_196271_a(IBlockState arg0, EnumFacing arg1, IBlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
updatePostPlacement(IBlockState arg0, EnumFacing arg1, IBlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
private static Direction
a(blz arg0, eq arg1)
method_16559(class_2176 arg0, class_1354 arg1)
getConnectedDirection(BedPart part, Direction facing)
func_208070_a(BedPart arg0, EnumFacing arg1)
getDirectionToOther(BedPart arg0, EnumFacing arg1)
public void
a(axy arg0, aog arg1, el arg2, blc arg3, bji arg4, ate arg5)
method_8651(class_1150 arg0, class_988 arg1, class_2552 arg2, class_2232 arg3, class_226 arg4, class_1071 arg5)
afterMinedByPlayer(World arg0, PlayerEntity arg1, BlockPos arg2, BlockState arg3, BlockEntity arg4, ItemStack arg5)
func_180657_a(World arg0, EntityPlayer arg1, BlockPos arg2, IBlockState arg3, TileEntity arg4, ItemStack arg5)
harvestBlock(World arg0, EntityPlayer arg1, BlockPos arg2, IBlockState arg3, TileEntity arg4, ItemStack arg5)
public void
a(blc arg0, axy arg1, el arg2, blc arg3, boolean arg4)
method_8659(class_2232 arg0, class_1150 arg1, class_2552 arg2, class_2232 arg3, boolean arg4)
onRemoved(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
func_196243_a(IBlockState arg0, World arg1, BlockPos arg2, IBlockState arg3, boolean arg4)
onReplaced(IBlockState arg0, World arg1, BlockPos arg2, IBlockState arg3, boolean arg4)
public void
a(axy arg0, el arg1, blc arg2, aog arg3)
method_8644(class_1150 arg0, class_2552 arg1, class_2232 arg2, class_988 arg3)
beforeMinedByPlayer(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
func_176208_a(World arg0, BlockPos arg1, IBlockState arg2, EntityPlayer arg3)
onBlockHarvested(World arg0, BlockPos arg1, IBlockState arg2, EntityPlayer arg3)
public BlockState
a(ark arg0)
method_16563(class_3544 arg0)
getPlacementState(BlockPlaceContext arg0)
func_196258_a(BlockItemUseContext arg0)
getStateForPlacement(BlockItemUseContext arg0)
public ItemLike
a(blc arg0, axy arg1, el arg2, int arg3)
method_16568(class_2232 arg0, class_1150 arg1, class_2552 arg2, int arg3)
getDropItem(BlockState arg0, World arg1, BlockPos arg2, int arg3)
func_199769_a(IBlockState arg0, World arg1, BlockPos arg2, int arg3)
getItemDropped(IBlockState arg0, World arg1, BlockPos arg2, int arg3)
public VoxelShape
a(blc arg0, axk arg1, el arg2)
method_11554(class_2232 arg0, class_1158 arg1, class_2552 arg2)
getShape(BlockState arg0, BlockView arg1, BlockPos arg2)
func_196244_b(IBlockState arg0, IBlockReader arg1, BlockPos arg2)
getShape(IBlockState arg0, IBlockReader arg1, BlockPos arg2)
public static BlockPos
a(axk arg0, el arg1, int arg2)
method_8629(class_1158 arg0, class_2552 arg1, int arg2)
getSpawnPoint(BlockView world, BlockPos pos, int depth)
func_176468_a(IBlockReader arg0, BlockPos arg1, int arg2)
getSafeExitLocation(IBlockReader worldIn, BlockPos pos, int tries)
protected static boolean
a(axk arg0, el arg1)
method_16558(class_1158 arg0, class_2552 arg1)
isValidSpawnPos(BlockView world, BlockPos pos)
func_176469_d(IBlockReader arg0, BlockPos arg1)
hasRoomForPlayer(IBlockReader worldIn, BlockPos pos)
public PistonMoveBehavior
j(blc arg0)
method_11567(class_2232 arg0)
getPistonMoveBehavior(BlockState arg0)
func_149656_h(IBlockState arg0)
getPushReaction(IBlockState arg0)
public BlockLayer
c()
method_8687()
getRenderLayer()
func_180664_k()
getRenderLayer()
public RenderType
c(blc arg0)
method_11552(class_2232 arg0)
getRenderType(BlockState arg0)
func_149645_b(IBlockState arg0)
getRenderType(IBlockState arg0)
public FaceShape
a(axk arg0, blc arg1, el arg2, eq arg3)
method_14307(class_1158 arg0, class_2232 arg1, class_2552 arg2, class_1354 arg3)
getFaceShape(BlockView arg0, BlockState arg1, BlockPos arg2, Direction arg3)
func_193383_a(IBlockReader arg0, IBlockState arg1, BlockPos arg2, EnumFacing arg3)
getBlockFaceShape(IBlockReader arg0, IBlockState arg1, BlockPos arg2, EnumFacing arg3)
protected void
a(ble$a<bcs, blc> arg0)
method_16576(class_2233$class_3757<class_197, class_2232> arg0)
buildStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, IBlockState> arg0)
fillStateContainer(StateContainer$Builder<Block, IBlockState> arg0)
public BlockEntity
a(axk arg0)
method_16671(class_1158 arg0)
createBlockEntity(BlockView arg0)
func_196283_a_(IBlockReader arg0)
createNewTileEntity(IBlockReader arg0)
public void
a(axy arg0, el arg1, blc arg2, afa arg3, ate arg4)
method_419(class_1150 arg0, class_2552 arg1, class_2232 arg2, class_1699 arg3, class_1071 arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
func_180633_a(World arg0, BlockPos arg1, IBlockState arg2, EntityLivingBase arg3, ItemStack arg4)
onBlockPlacedBy(World arg0, BlockPos arg1, IBlockState arg2, EntityLivingBase arg3, ItemStack arg4)
public boolean
a(blc arg0, axk arg1, el arg2, cbf arg3)
method_8663(class_2232 arg0, class_1158 arg1, class_2552 arg2, class_4064 arg3)
canWalkThrough(BlockState arg0, BlockView arg1, BlockPos arg2, EntityNavigationType arg3)
func_196266_a(IBlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
allowsMovement(IBlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
public boolean
b(blc arg0)
method_13704(class_2232 arg0)
hasCustomMiningProgress(BlockState arg0)
func_190946_v(IBlockState arg0)
hasCustomBreakingProgress(IBlockState arg0)
public DyeColor
d()
method_16560()
getColor()
func_196350_d()
getColor()
public long
a(blc arg0, el arg1)
method_16574(class_2232 arg0, class_2552 arg1)
getSeed(BlockState arg0, BlockPos arg1)
func_209900_a(IBlockState arg0, BlockPos arg1)
getPositionRandom(IBlockState arg0, BlockPos arg1)