net.minecraft.block

public class BedBlock

extends HorizontalFacingBlock implements BlockEntityProvider

All mapped superinterfaces:

ItemLike, BlockEntityProvider

bmh
net.minecraft.class_2244
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
field_176472_a
PART
public static final BooleanProperty
b
field_9968
OCCUPIED
field_176471_b
OCCUPIED
protected static final VoxelShape
c
field_16788
f_15727873
field_220176_c
field_220176_c
protected static final VoxelShape
d
field_16782
f_98563681
field_220177_d
field_220177_d
protected static final VoxelShape
e
field_16784
f_52202834
field_220178_e
field_220178_e
protected static final VoxelShape
f
field_16786
f_82211270
field_220179_f
field_220179_f
protected static final VoxelShape
g
field_16789
f_13941959
field_220180_g
field_220180_g
protected static final VoxelShape
h
field_16787
f_07630343
field_220181_h
field_220181_h
protected static final VoxelShape
i
field_16785
f_43105172
field_220182_i
field_220182_i
protected static final VoxelShape
j
field_16783
f_53168933
field_220183_j
field_220183_j
protected static final VoxelShape
k
field_16790
f_49284540
field_220184_k
field_220184_k
private final DyeColor
w
field_9966
color
field_196352_y
color

Constructor summary

ModifierConstructor
public (DyeColor color, Block$Properties properties)

Method summary

Modifier and TypeMethod
public MapColor
e(bvk arg0, bgs arg1, ev arg2)
method_9602(class_2680 arg0, class_1922 arg1, class_2338 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(bvk arg0, bhi arg1, ev arg2, avy arg3, ahc arg4, crt arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 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(bhi arg0, ev arg1, aii arg2, float arg3)
method_9554(class_1937 arg0, class_2338 arg1, class_1297 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(bgs arg0, aii arg1)
method_9502(class_1922 arg0, class_1297 arg1)
beforeCollision(BlockView arg0, Entity arg1)
func_176216_a(IBlockReader arg0, Entity arg1)
onLanded(IBlockReader arg0, Entity arg1)
public BlockState
a(bvk arg0, fa arg1, bvk arg2, bhj 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)
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(bvz arg0, fa arg1)
method_9488(class_2742 arg0, class_2350 arg1)
getConnectedDirection(BedPart part, Direction facing)
func_208070_a(BedPart arg0, Direction arg1)
getDirectionToOther(BedPart arg0, Direction arg1)
public void
a(bhi arg0, avy arg1, ev arg2, bvk arg3, btn arg4, bcb arg5)
method_9556(class_1937 arg0, class_1657 arg1, class_2338 arg2, class_2680 arg3, class_2586 arg4, class_1799 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(bhi arg0, ev arg1, bvk arg2, avy arg3)
method_9576(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1657 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(baf arg0)
method_9605(class_1750 arg0)
getPlacementState(BlockPlaceContext arg0)
func_196258_a(BlockItemUseContext arg0)
getStateForPlacement(BlockItemUseContext arg0)
public VoxelShape
a(bvk arg0, bgs arg1, ev arg2, csc arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 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(aim<?> arg0, bhl arg1, ev arg2, int arg3)
method_9484(class_1299<?> arg0, class_1941 arg1, class_2338 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(aim<?> arg0, bhl arg1, ev arg2)
method_9486(class_1299<?> arg0, class_1941 arg1, class_2338 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 PistonMoveBehavior
i(bvk arg0)
method_9527(class_2680 arg0)
getPistonMoveBehavior(BlockState arg0)
func_149656_h(BlockState arg0)
getPushReaction(BlockState arg0)
public BlockLayer
c()
method_9551()
getRenderLayer()
func_180664_k()
getRenderLayer()
public RenderType
c(bvk arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
func_149645_b(BlockState arg0)
getRenderType(BlockState arg0)
protected void
a(bvl$a<bmm, bvk> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
buildStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
fillStateContainer(StateContainer$Builder<Block, BlockState> arg0)
public BlockEntity
a(bgs arg0)
method_10123(class_1922 arg0)
createBlockEntity(BlockView arg0)
func_196283_a_(IBlockReader arg0)
createNewTileEntity(IBlockReader arg0)
public void
a(bhi arg0, ev arg1, bvk arg2, air arg3, bcb 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)
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(bvk arg0, bgs arg1, ev arg2, cnj arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 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(bgs arg0, ev arg1)
method_18476(class_1922 arg0, class_2338 arg1)
m_86268873(BlockView arg0, BlockPos arg1)
func_220174_a(IBlockReader arg0, BlockPos arg1)
func_220174_a(IBlockReader arg0, BlockPos arg1)
public boolean
d(bvk arg0)
method_9589(class_2680 arg0)
hasCustomMiningProgress(BlockState arg0)
func_190946_v(BlockState arg0)
hasCustomBreakingProgress(BlockState arg0)
public DyeColor
d()
method_9487()
getColor()
func_196350_d()
getColor()
public long
a(bvk arg0, ev arg1)
method_9535(class_2680 arg0, class_2338 arg1)
getSeed(BlockState arg0, BlockPos arg1)
func_209900_a(BlockState arg0, BlockPos arg1)
getPositionRandom(BlockState arg0, BlockPos arg1)