net.minecraft.block

public class StrawBedBlock

extends AbstractBedBlock

All mapped superinterfaces:

ToggleableFeature, ItemConvertible

net.minecraft.world.level.block.StrawBedBlock
net.minecraft.class_1_1226
net.minecraft.block.StrawBedBlock

Field summary

Modifier and TypeField
private static final VoxelShape
BASE_SHAPE
field_1_8515
BASE_FOOT_SHAPE
private static final VoxelShape
PILLOW_SHAPE
field_1_8518
BASE_HEAD_SHAPE
private static final Map<Direction, VoxelShape>
FOOT_SHAPES
field_1_8516
FOOT_SHAPES
private static final Map<Direction, VoxelShape>
HEAD_SHAPES
field_1_8517
HEAD_SHAPES

Constructor summary

ModifierConstructor
public (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
private void
destroyBed(Level level, BlockPos pos)
method_1_7789(class_1937 arg0, class_2338 arg1)
destroyStrawBed(World world, BlockPos pos)
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()
public void
spawnDestroyParticles(Level level, BlockPos pos, BlockState state)
method_1_7631(class_1937 arg0, class_2338 arg1, class_2680 arg2)
spawnBreakParticles(World arg0, BlockPos arg1, BlockState arg2)
public Identifier
getSleptInBedStatType()
method_1_7922()
getStatistic()
public double
getSleepHeight(BlockState state, Level level, BlockPos pos)
method_1_7921(class_2680 arg0, class_1937 arg1, class_2338 arg2)
getHeight(BlockState arg0, World arg1, BlockPos arg2)
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)
private static Map
lambda$static$1()
method_1_7791()
method_1_7791()
private static Map
lambda$static$0()
method_1_7790()
method_1_7790()