net.minecraft.world.level.block

public class BedBlock

extends HorizontalDirectionalBlock implements EntityBlock

All mapped superinterfaces:

ItemLike, EntityBlock

bvm
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_16_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
o
color
field_9966
f_nuuzuyzv
color
field_196352_y
color

Constructor summary

ModifierConstructor
public (DyeColor color, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public InteractionResult
a(cfj arg0, bqb arg1, fu arg2, bec arg3, anf arg4, deh 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_rocdemyx(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_laxmzoqs arg4, C_jdakttms arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
func_225533_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 static boolean
a(bqb arg0)
canSetSpawn(Level arg0)
method_27352(class_1937 arg0)
m_ftrfdpnc(C_cdctfzbn arg0)
isOverworld(World world)
func_235330_a_(World arg0)
private boolean
a(bqb arg0, fu arg1)
kickVillagerOutOfBed(Level arg0, BlockPos arg1)
method_22357(class_1937 arg0, class_2338 arg1)
m_bfzrepqn(C_cdctfzbn arg0, C_hynzadkk arg1)
isFree(World world, BlockPos pos)
func_226861_a_(World arg0, BlockPos arg1)
public void
a(bqb arg0, fu arg1, aom 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(bpg arg0, aom 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)
private void
a(aom arg0)
bounceUp(Entity arg0)
method_21838(class_1297 arg0)
m_gajdgurg(C_astfners arg0)
bounceEntity(Entity entity)
func_226860_a_(Entity arg0)
public BlockState
a(cfj arg0, fz arg1, cfj arg2, bqc arg3, fu arg4, fu 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_yvunqpeq(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, WorldAccess 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(cfx arg0, fz 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(bqb arg0, fu arg1, cfj arg2, bec 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(bin 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
b(cfj arg0, bpg arg1, fu arg2, der 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_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public static Direction
g(cfj arg0)
getConnectedDirection(BlockState arg0)
method_24163(class_2680 arg0)
m_dlnqtvrq(C_txtbiemp arg0)
getOppositePartDirection(BlockState state)
func_226862_h_(BlockState arg0)
public static Optional<Vec3>
a(aoq<?> arg0, bqd arg1, fu arg2, int arg3)
findStandUpPosition(EntityType<?> arg0, LevelReader arg1, BlockPos arg2, int arg3)
method_9484(class_1299<?> arg0, class_4538 arg1, class_2338 arg2, int arg3)
m_ycicexvn(C_ogavsvbr<?> arg0, C_eemzphbi arg1, C_hynzadkk arg2, int arg3)
findWakeUpPosition(EntityType<?> type, WorldView world, BlockPos pos, int index)
func_220172_a(EntityType<?> arg0, IWorldReader arg1, BlockPos arg2, int arg3)
public static Optional<Vec3>
a(aoq<?> arg0, bqd arg1, fu arg2)
getStandingLocationAtOrBelow(EntityType<?> arg0, LevelReader arg1, BlockPos arg2)
method_9486(class_1299<?> arg0, class_4538 arg1, class_2338 arg2)
m_ylwbarrl(C_ogavsvbr<?> arg0, C_eemzphbi arg1, C_hynzadkk arg2)
canWakeUpAt(EntityType<?> type, WorldView world, BlockPos pos)
func_220175_a(EntityType<?> arg0, IWorldReader arg1, BlockPos arg2)
public PushReaction
f(cfj arg0)
getPistonPushReaction(BlockState arg0)
method_9527(class_2680 arg0)
m_svmpqhks(C_txtbiemp arg0)
getPistonBehavior(BlockState arg0)
func_149656_h(BlockState arg0)
getPushReaction(IBlockData arg0)
public RenderShape
b(cfj arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
m_mjglzdvu(C_txtbiemp arg0)
getRenderType(BlockState arg0)
func_149645_b(BlockState arg0)
protected void
a(cfk$a<bvr, cfj> 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(bpg 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(bqb arg0, fu arg1, cfj arg2, aoy arg3, bki 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(cfj arg0, bpg arg1, fu arg2, czg 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_rwctfady(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_kjwlgpfr arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
func_196266_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)
public static Direction
a(bpg arg0, fu 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 static DoubleBlockCombiner$BlockType
h(cfj arg0)
getBlockType(BlockState arg0)
method_24164(class_2680 arg0)
m_fonlhzya(C_txtbiemp arg0)
getBedPart(BlockState state)
func_226863_i_(BlockState arg0)
public DyeColor
c()
getColor()
method_9487()
m_hvgdojqb()
getColor()
func_196350_d()
public long
a(cfj arg0, fu arg1)
getSeed(BlockState arg0, BlockPos arg1)
method_9535(class_2680 arg0, class_2338 arg1)
m_nlgzchux(C_txtbiemp arg0, C_hynzadkk arg1)
getRenderingSeed(BlockState arg0, BlockPos arg1)
func_209900_a(BlockState arg0, BlockPos arg1)