net.minecraft.world.level.block

public class BedBlock

extends HorizontalDirectionalBlock implements EntityBlock

All mapped superinterfaces:

ItemLike, EntityBlock

bmq
net.minecraft.world.level.block.BedBlock
net.minecraft.class_2244
net.minecraft.unmapped.C_nvwxmqty
net.minecraft.block.BedBlock
net.minecraft.block.BedBlock
net.minecraft.server.v1_14_R1.BlockBed

Field summary

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

Constructor summary

ModifierConstructor
public (DyeColor color, Block$Properties settings)

Method summary

Modifier and TypeMethod
public MaterialColor
e(bvt arg0, bhb arg1, ew arg2)
getMapColor(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9602(class_2680 arg0, class_1922 arg1, class_2338 arg2)
m_snhtmejy(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2)
getMapColor(BlockState arg0, BlockView arg1, BlockPos arg2)
func_180659_g(BlockState arg0, IBlockReader arg1, BlockPos arg2)
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)
m_oynnfzzh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_laxmzoqs arg4, C_jdakttms 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)
public void
a(bhr arg0, ew arg1, aio 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)
m_jweqgtyb(C_cdctfzbn arg0, C_hynzadkk arg1, C_astfners arg2, float arg3)
onLandedUpon(World arg0, BlockPos arg1, Entity arg2, float arg3)
func_180658_a(World arg0, BlockPos arg1, Entity arg2, float arg3)
fallOn(World arg0, BlockPosition arg1, Entity arg2, float arg3)
public void
a(bhb arg0, aio arg1)
updateEntityAfterFallOn(BlockGetter arg0, Entity arg1)
method_9502(class_1922 arg0, class_1297 arg1)
m_zfqxklim(C_peaveboq arg0, C_astfners arg1)
onEntityLand(BlockView arg0, Entity arg1)
func_176216_a(IBlockReader arg0, Entity arg1)
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)
m_mzeifinm(C_txtbiemp arg0, C_xpuuihxf arg1, C_txtbiemp arg2, C_vdvbsyle arg3, C_hynzadkk arg4, C_hynzadkk 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)
private static Direction
a(bwi arg0, fb arg1)
getNeighbourDirection(BedPart arg0, Direction arg1)
method_9488(class_2742 arg0, class_2350 arg1)
m_oowgyroh(C_zjsjkezw arg0, C_xpuuihxf arg1)
getDirectionTowardsOtherPart(BedPart part, Direction direction)
func_208070_a(BedPart arg0, Direction arg1)
public void
a(bhr arg0, awg arg1, ew arg2, bvt arg3, btw arg4, bcj arg5)
playerDestroy(Level arg0, Player arg1, BlockPos arg2, BlockState arg3, BlockEntity arg4, ItemStack arg5)
method_9556(class_1937 arg0, class_1657 arg1, class_2338 arg2, class_2680 arg3, class_2586 arg4, class_1799 arg5)
m_mtdctgjh(C_cdctfzbn arg0, C_jzrpycqo arg1, C_hynzadkk arg2, C_txtbiemp arg3, C_kvegafmh arg4, C_sddaxwyk arg5)
afterBreak(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)
public void
a(bhr arg0, ew arg1, bvt arg2, awg arg3)
playerWillDestroy(Level arg0, BlockPos arg1, BlockState arg2, Player arg3)
method_9576(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1657 arg3)
m_tjijvtpb(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_jzrpycqo arg3)
onBreak(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
func_176208_a(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
public BlockState
a(ban arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
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)
m_ijgknxkn(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, EntityContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public static Optional<Vec3>
a(ais<?> arg0, bhu arg1, ew arg2, int arg3)
findStandUpPosition(EntityType<?> arg0, LevelReader arg1, BlockPos arg2, int arg3)
method_9484(class_1299<?> arg0, class_1941 arg1, class_2338 arg2, int arg3)
m_ycicexvn(C_ogavsvbr<?> arg0, C_eemzphbi arg1, C_hynzadkk arg2, int arg3)
findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, int index)
func_220172_a(EntityType<?> arg0, IWorldReader arg1, BlockPos arg2, int arg3)
protected static Optional<Vec3>
a(ais<?> arg0, bhu arg1, ew arg2)
getStandingLocationAtOrBelow(EntityType<?> arg0, LevelReader arg1, BlockPos arg2)
method_9486(class_1299<?> arg0, class_1941 arg1, class_2338 arg2)
m_ylwbarrl(C_ogavsvbr<?> arg0, C_eemzphbi arg1, C_hynzadkk arg2)
canWakeUpAt(EntityType<?> type, CollisionView world, BlockPos pos)
func_220175_a(EntityType<?> arg0, IWorldReader arg1, BlockPos arg2)
public PushReaction
i(bvt arg0)
getPistonPushReaction(BlockState arg0)
method_9527(class_2680 arg0)
m_oveiufqg(C_txtbiemp arg0)
getPistonBehavior(BlockState arg0)
func_149656_h(BlockState arg0)
getPushReaction(IBlockData arg0)
public BlockLayer
c()
getRenderLayer()
method_9551()
m_ktleeruj()
getRenderLayer()
func_180664_k()
public RenderShape
c(bvt arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
m_axrqspoo(C_txtbiemp arg0)
getRenderType(BlockState arg0)
func_149645_b(BlockState arg0)
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)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
public BlockEntity
a(bhb arg0)
newBlockEntity(BlockGetter arg0)
method_10123(class_1922 arg0)
m_zupvpdxk(C_peaveboq arg0)
createBlockEntity(BlockView arg0)
func_196283_a_(IBlockReader arg0)
createTile(IBlockAccess arg0)
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)
m_fuvqealb(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_usxaxydn arg3, C_sddaxwyk 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 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)
m_jzazquea(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_kjwlgpfr arg3)
canPlaceAtSide(BlockState arg0, BlockView arg1, BlockPos arg2, BlockPlacementEnvironment arg3)
func_196266_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
public static Direction
a(bhb arg0, ew arg1)
getBedOrientation(BlockGetter arg0, BlockPos arg1)
method_18476(class_1922 arg0, class_2338 arg1)
m_ehipyrlh(C_peaveboq arg0, C_hynzadkk arg1)
getDirection(BlockView world, BlockPos pos)
func_220174_a(IBlockReader arg0, BlockPos arg1)
public boolean
d(bvt arg0)
hasCustomBreakingProgress(BlockState arg0)
method_9589(class_2680 arg0)
m_cfmheuci(C_txtbiemp arg0)
hasBlockEntityBreakingRender(BlockState arg0)
func_190946_v(BlockState arg0)
public DyeColor
d()
getColor()
method_9487()
m_hvgdojqb()
getColor()
func_196350_d()
public long
a(bvt arg0, ew arg1)
getSeed(BlockState arg0, BlockPos arg1)
method_9535(class_2680 arg0, class_2338 arg1)
m_cepboent(C_txtbiemp arg0, C_hynzadkk arg1)
getRenderingSeed(BlockState arg0, BlockPos arg1)
func_209900_a(BlockState arg0, BlockPos arg1)