net.minecraft.block

public class BedBlock

extends AbstractBedBlock

All mapped superinterfaces:

ToggleableFeature, ItemConvertible

net.minecraft.world.level.block.BedBlock
net.minecraft.class_1_1206
net.minecraft.block.BedBlock

Field summary

Modifier and TypeField
private final DyeColor
color
field_1_8311
color
private static final Map<Direction, VoxelShape>
SHAPES
field_1_8310
OUTLINE_SHAPES

Constructor summary

ModifierConstructor
public (DyeColor color, AbstractBlock$Settings settings)

Method summary

Modifier and TypeMethod
protected VoxelShape
getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
protected EnvironmentAttribute<BedRule>
getBedEnvironmentAttribute()
method_1_7919()
getBedRule()
protected ActionResult
destroyOnUse(BlockState state, Level level, BlockPos pos, Player player)
method_1_7918(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3)
onUseFailure(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3)
protected void
destroyOnLeave(Level level, BlockPos pos)
method_1_7917(class_1937 arg0, class_2338 arg1)
destroyOnLeave(World arg0, BlockPos arg1)
public DyeColor
getColor()
method_1_7675()
getColor()
private static Map
lambda$static$0()
method_1_7676()
method_1_7676()