net.minecraft.block

public class BedBlock

extends HorizontalFacingBlock implements BlockEntityProvider

All mapped superinterfaces:

ItemConvertible, BlockEntityProvider

bug
net.minecraft.world.level.block.BedBlock
net.minecraft.class_2244
net.minecraft.block.BedBlock
net.minecraft.unmapped.C_nvwxmqty
net.minecraft.block.BedBlock
net.minecraft.block.BedBlock

Field summary

Modifier and TypeField
public static final EnumProperty<BedPart>
a
PART
field_9967
PART
f_lyqemyor
field_176472_a
PART
public static final BooleanProperty
b
OCCUPIED
field_9968
OCCUPIED
f_hzcaewbv
field_176471_b
OCCUPIED
protected static final VoxelShape
c
BASE
field_16788
TOP_SHAPE
f_ygoirroy
field_220176_c
BED_BASE_SHAPE
protected static final VoxelShape
d
LEG_NORTH_WEST
field_16782
LEG_1_SHAPE
f_kemnvrid
field_220177_d
CORNER_NW
protected static final VoxelShape
e
LEG_SOUTH_WEST
field_16784
LEG_2_SHAPE
f_xnuxyrmb
field_220178_e
CORNER_SW
protected static final VoxelShape
f
LEG_NORTH_EAST
field_16786
LEG_3_SHAPE
f_otugqpil
field_220179_f
CORNER_NE
protected static final VoxelShape
g
LEG_SOUTH_EAST
field_16789
LEG_4_SHAPE
f_xzmmadmy
field_220180_g
CORNER_SE
protected static final VoxelShape
h
NORTH_SHAPE
field_16787
NORTH_SHAPE
f_djvzqbzm
field_220181_h
NORTH_FACING_SHAPE
protected static final VoxelShape
i
SOUTH_SHAPE
field_16785
SOUTH_SHAPE
f_vcdtjwcq
field_220182_i
SOUTH_FACING_SHAPE
protected static final VoxelShape
j
WEST_SHAPE
field_16783
WEST_SHAPE
f_ksjhatky
field_220183_j
WEST_FACING_SHAPE
protected static final VoxelShape
k
EAST_SHAPE
field_16790
EAST_SHAPE
f_ffaooxkb
field_220184_k
EAST_FACING_SHAPE
private final DyeColor
o
color
field_9966
color
f_nuuzuyzv
field_196352_y
color

Constructor summary

ModifierConstructor
public (DyeColor color, AbstractBlock$Settings settings)

Method summary

Modifier and TypeMethod
public ActionResult
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)
m_rocdemyx(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_laxmzoqs arg4, C_jdakttms arg5)
func_225533_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 static boolean
a(bru arg0)
canSetSpawn(Level arg0)
method_27352(class_1937 arg0)
isOverworld(World world)
m_ftrfdpnc(C_cdctfzbn arg0)
func_235330_a_(World arg0)
doesBedWork(World world)
private boolean
a(bru arg0, fx arg1)
kickVillagerOutOfBed(Level arg0, BlockPos arg1)
method_22357(class_1937 arg0, class_2338 arg1)
isFree(World world, BlockPos pos)
m_bfzrepqn(C_cdctfzbn arg0, C_hynzadkk arg1)
func_226861_a_(World arg0, BlockPos arg1)
tryWakeUpVillager(World world, BlockPos pos)
public void
a(bru arg0, fx arg1, apx arg2, float arg3)
fallOn(Level arg0, BlockPos arg1, Entity 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)
m_jweqgtyb(C_cdctfzbn arg0, C_hynzadkk arg1, C_astfners 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(bqz arg0, apx arg1)
updateEntityAfterFallOn(BlockGetter arg0, Entity arg1)
method_9502(class_1922 arg0, class_1297 arg1)
onEntityLand(BlockView arg0, Entity arg1)
m_zfqxklim(C_peaveboq arg0, C_astfners arg1)
func_176216_a(IBlockReader arg0, Entity arg1)
onLanded(IBlockReader arg0, Entity arg1)
private void
a(apx arg0)
bounceUp(Entity arg0)
method_21838(class_1297 arg0)
bounceEntity(Entity entity)
m_gajdgurg(C_astfners arg0)
func_226860_a_(Entity arg0)
bounceEntity(Entity entity)
public BlockState
a(cee arg0, gc arg1, cee arg2, brv arg3, fx arg4, fx 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, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_yvunqpeq(C_txtbiemp arg0, C_xpuuihxf arg1, C_txtbiemp arg2, C_vdvbsyle arg3, C_hynzadkk arg4, C_hynzadkk 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(ces arg0, gc arg1)
getNeighbourDirection(BedPart arg0, Direction arg1)
method_9488(class_2742 arg0, class_2350 arg1)
getDirectionTowardsOtherPart(BedPart part, Direction direction)
m_oowgyroh(C_zjsjkezw arg0, C_xpuuihxf arg1)
func_208070_a(BedPart arg0, Direction arg1)
getDirectionToOther(BedPart part, Direction direction)
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)
m_tjijvtpb(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_jzrpycqo arg3)
func_176208_a(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
onBlockHarvested(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
public BlockState
a(bnv arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_iwedynhy(C_aiootljq arg0)
func_196258_a(BlockItemUseContext arg0)
getStateForPlacement(BlockItemUseContext 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)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
getShape(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public static Direction
g(cee arg0)
getConnectedDirection(BlockState arg0)
method_24163(class_2680 arg0)
getOppositePartDirection(BlockState state)
m_dlnqtvrq(C_txtbiemp arg0)
func_226862_h_(BlockState arg0)
getFootDirection(BlockState state)
private static boolean
b(bqz arg0, fx arg1)
isBunkBed(BlockGetter arg0, BlockPos arg1)
method_30839(class_1922 arg0, class_2338 arg1)
method_30839(BlockView arg0, BlockPos arg1)
m_uuocayls(C_peaveboq arg0, C_hynzadkk arg1)
func_242657_b(IBlockReader arg0, BlockPos arg1)
isBedBelow(IBlockReader blockReader, BlockPos pos)
public static Optional<Vec3d>
a(aqb<?> arg0, brd arg1, fx arg2, float arg3)
findStandUpPosition(EntityType<?> arg0, CollisionGetter arg1, BlockPos arg2, float arg3)
method_9484(class_1299<?> arg0, class_1941 arg1, class_2338 arg2, float arg3)
findWakeUpPosition(EntityType<?> type, CollisionView arg1, BlockPos pos, float arg3)
m_ycicexvn(C_ogavsvbr<?> arg0, C_vxzrjtdu arg1, C_hynzadkk arg2, float arg3)
func_242652_a(EntityType<?> arg0, ICollisionReader arg1, BlockPos arg2, float arg3)
func_242652_a(EntityType<?> type, ICollisionReader collisionReader, BlockPos pos, float orientation)
private static Optional<Vec3d>
a(aqb<?> arg0, brd arg1, fx arg2, gc arg3, gc arg4)
findBunkBedStandUpPosition(EntityType<?> arg0, CollisionGetter arg1, BlockPos arg2, Direction arg3, Direction arg4)
method_30835(class_1299<?> arg0, class_1941 arg1, class_2338 arg2, class_2350 arg3, class_2350 arg4)
method_30835(EntityType<?> arg0, CollisionView arg1, BlockPos arg2, Direction arg3, Direction arg4)
m_rclmqwrd(C_ogavsvbr<?> arg0, C_vxzrjtdu arg1, C_hynzadkk arg2, C_xpuuihxf arg3, C_xpuuihxf arg4)
func_242653_a(EntityType<?> arg0, ICollisionReader arg1, BlockPos arg2, Direction arg3, Direction arg4)
func_242653_a(EntityType<?> type, ICollisionReader collisionReader, BlockPos pos, Direction direction1, Direction direction2)
private static Optional<Vec3d>
a(aqb<?> arg0, brd arg1, fx arg2, int[][] arg3, boolean arg4)
findStandUpPositionAtOffset(EntityType<?> arg0, CollisionGetter arg1, BlockPos arg2, int[][] arg3, boolean arg4)
method_30836(class_1299<?> arg0, class_1941 arg1, class_2338 arg2, int[][] arg3, boolean arg4)
method_30836(EntityType<?> arg0, CollisionView arg1, BlockPos arg2, int[][] arg3, boolean arg4)
m_xmwpwuqn(C_ogavsvbr<?> arg0, C_vxzrjtdu arg1, C_hynzadkk arg2, int[][] arg3, boolean arg4)
func_242654_a(EntityType<?> arg0, ICollisionReader arg1, BlockPos arg2, int[][] arg3, boolean arg4)
func_242654_a(EntityType<?> type, ICollisionReader collisionReader, BlockPos pos, int[][] arg3, boolean arg4)
public PistonBehavior
f(cee arg0)
getPistonPushReaction(BlockState arg0)
method_9527(class_2680 arg0)
getPistonBehavior(BlockState arg0)
m_svmpqhks(C_txtbiemp arg0)
func_149656_h(BlockState arg0)
getPushReaction(BlockState arg0)
public BlockRenderType
b(cee arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
m_mjglzdvu(C_txtbiemp arg0)
func_149645_b(BlockState arg0)
getRenderType(BlockState 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)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
fillStateContainer(StateContainer$Builder<Block, BlockState> arg0)
public BlockEntity
a(bqz arg0)
newBlockEntity(BlockGetter arg0)
method_10123(class_1922 arg0)
createBlockEntity(BlockView arg0)
m_zupvpdxk(C_peaveboq arg0)
func_196283_a_(IBlockReader arg0)
createNewTileEntity(IBlockReader arg0)
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)
m_fuvqealb(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_usxaxydn arg3, C_sddaxwyk 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(cee arg0, bqz arg1, fx arg2, cxb arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
m_rwctfady(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_kjwlgpfr arg3)
func_196266_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
allowsMovement(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
private static int[][]
a(gc arg0, gc arg1)
bedStandUpOffsets(Direction arg0, Direction arg1)
method_30838(class_2350 arg0, class_2350 arg1)
method_30838(Direction arg0, Direction arg1)
m_dlthhhxv(C_xpuuihxf arg0, C_xpuuihxf arg1)
func_242656_a(Direction arg0, Direction arg1)
func_242656_a(Direction direction1, Direction direction2)
private static int[][]
b(gc arg0, gc arg1)
bedSurroundStandUpOffsets(Direction arg0, Direction arg1)
method_30840(class_2350 arg0, class_2350 arg1)
method_30840(Direction arg0, Direction arg1)
m_hkrnhjla(C_xpuuihxf arg0, C_xpuuihxf arg1)
func_242658_b(Direction arg0, Direction arg1)
func_242658_b(Direction direction1, Direction direction2)
private static int[][]
a(gc arg0)
bedAboveStandUpOffsets(Direction arg0)
method_30837(class_2350 arg0)
method_30837(Direction arg0)
m_hnsbtrig(C_xpuuihxf arg0)
func_242655_a(Direction arg0)
func_242655_a(Direction direction)
public static Direction
a(bqz arg0, fx arg1)
getBedOrientation(BlockGetter arg0, BlockPos arg1)
method_18476(class_1922 arg0, class_2338 arg1)
getDirection(BlockView world, BlockPos pos)
m_ehipyrlh(C_peaveboq arg0, C_hynzadkk arg1)
func_220174_a(IBlockReader arg0, BlockPos arg1)
getBedDirection(IBlockReader reader, BlockPos pos)
public static DoubleBlockProperties$Type
h(cee arg0)
getBlockType(BlockState arg0)
method_24164(class_2680 arg0)
getBedPart(BlockState state)
m_fonlhzya(C_txtbiemp arg0)
func_226863_i_(BlockState arg0)
getMergeType(BlockState state)
public DyeColor
c()
getColor()
method_9487()
getColor()
m_hvgdojqb()
func_196350_d()
getColor()
public long
a(cee arg0, fx arg1)
getSeed(BlockState arg0, BlockPos arg1)
method_9535(class_2680 arg0, class_2338 arg1)
getRenderingSeed(BlockState arg0, BlockPos arg1)
m_nlgzchux(C_txtbiemp arg0, C_hynzadkk arg1)
func_209900_a(BlockState arg0, BlockPos arg1)
getPositionRandom(BlockState arg0, BlockPos arg1)