History - net.minecraft.block.AbstractBedBlock

26.3-snapshot-3

Names

net.minecraft.world.level.block.BedBlock

net.minecraft.world.level.block.AbstractBedBlock

net.minecraft.block.BedBlock

net.minecraft.block.AbstractBedBlock

Fields

Map<Direction, VoxelShape>: SHAPES, field_55732, SHAPES_BY_DIRECTION

DyeColor: color, field_9966, color

Constructors

(DyeColor, AbstractBlock$Settings)

(AbstractBlock$Settings)

Methods

VoxelShape (BlockState, BlockView, BlockPos, ShapeContext): getShape, method_9530, getOutlineShape

DyeColor (): getColor, method_9487, getColor

Map (): lambda$static$0, method_66389, method_66389

EnvironmentAttribute<BedRule> (): getBedEnvironmentAttribute, method_1_7919, getBedRule

ActionResult (BlockState, World, BlockPos, PlayerEntity): destroyOnUse, method_1_7918, onUseFailure

void (World, BlockPos): destroyOnLeave, method_1_7917, destroyOnLeave

BedRule (World, BlockPos): getBedRule, method_1_7920, getBedRule

Identifier (): getSleptInBedStatType, method_1_7922, getStatistic

double (BlockState, World, BlockPos): getSleepHeight, method_1_7921, getHeight

void (World, BlockPos): onStopSleeping, method_1_7923, onLeave

26.3-snapshot-2

Names

Fields

com.mojang.serialization.MapCodec<BedBlock>: CODEC, field_46273, CODEC

Constructors

Methods

com.mojang.serialization.MapCodec<BedBlock> (): codec, method_53969, getCodec

Map (): lambda$static$1, method_66389, method_66389

Map (): lambda$static$0, method_66389, method_66389

com.mojang.datafixers.kinds.App (com.mojang.serialization.codecs.RecordCodecBuilder$Instance): lambda$static$0, method_53978, method_53978

26.3-snapshot-1

Names

Fields

Constructors

Methods

void (World, BlockState, BlockPos, Entity, double): fallOn, method_9554, onLandedUpon

26.2

Names

Fields

Constructors

Methods

void (BlockView, Entity): updateEntityMovementAfterFallOn, method_9502, onEntityLand

void (Entity): bounceUp, method_21838, bounceEntity

BlockEntity (BlockPos, BlockState): newBlockEntity, method_10123, createBlockEntity

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

void (PlayerEntity, PlayerEntity$SleepFailureReason): lambda$useWithoutItem$3, method_55767, method_55767

void (PlayerEntity, PlayerEntity$SleepFailureReason): lambda$useWithoutItem$0, method_55767, method_55767

void (PlayerEntity, Text): lambda$useWithoutItem$2, method_75743, method_75743

1.21.11_unobfuscated

Names

net.minecraft.world.level.block.BedBlock

net.minecraft.class_2244

net.minecraft.block.BedBlock

Fields

com.mojang.serialization.MapCodec<BedBlock>: CODEC, field_46273, CODEC

EnumProperty<BedPart>: PART, field_9967, PART

BooleanProperty: OCCUPIED, field_9968, OCCUPIED

Map<Direction, VoxelShape>: SHAPES, field_55732, SHAPES_BY_DIRECTION

DyeColor: color, field_9966, color

Constructors

(DyeColor, AbstractBlock$Settings)

Methods

com.mojang.serialization.MapCodec<BedBlock> (): codec, method_53969, getCodec

Direction (BlockView, BlockPos): getBedOrientation, method_18476, getDirection

ActionResult (BlockState, World, BlockPos, PlayerEntity, BlockHitResult): useWithoutItem, method_55766, onUse

boolean (World, BlockPos): kickVillagerOutOfBed, method_22357, wakeVillager

void (World, BlockState, BlockPos, Entity, double): fallOn, method_9554, onLandedUpon

void (BlockView, Entity): updateEntityMovementAfterFallOn, method_9502, onEntityLand

void (Entity): bounceUp, method_21838, bounceEntity

BlockState (BlockState, WorldView, ScheduledTickView, BlockPos, Direction, BlockPos, BlockState, Random): updateShape, method_9559, getStateForNeighborUpdate

Direction (BedPart, Direction): getNeighbourDirection, method_9488, getDirectionTowardsOtherPart

BlockState (World, BlockPos, BlockState, PlayerEntity): playerWillDestroy, method_9576, onBreak

BlockState (ItemPlacementContext): getStateForPlacement, method_9605, getPlacementState

VoxelShape (BlockState, BlockView, BlockPos, ShapeContext): getShape, method_9530, getOutlineShape

Direction (BlockState): getConnectedDirection, method_24163, getOppositePartDirection

DoubleBlockProperties$Type (BlockState): getBlockType, method_24164, getBedPart

boolean (BlockView, BlockPos): isBunkBed, method_30839, isBedBelow

Optional<Vec3d> (EntityType<?>, CollisionView, BlockPos, Direction, float): findStandUpPosition, method_9484, findWakeUpPosition

Optional<Vec3d> (EntityType<?>, CollisionView, BlockPos, Direction, Direction): findBunkBedStandUpPosition, method_30835, findWakeUpPosition

Optional<Vec3d> (EntityType<?>, CollisionView, BlockPos, int[][], boolean): findStandUpPositionAtOffset, method_30836, findWakeUpPosition

void (StateManager$Builder<Block, BlockState>): createBlockStateDefinition, method_9515, appendProperties

BlockEntity (BlockPos, BlockState): newBlockEntity, method_10123, createBlockEntity

void (World, BlockPos, BlockState, LivingEntity, ItemStack): setPlacedBy, method_9567, onPlaced

DyeColor (): getColor, method_9487, getColor

long (BlockState, BlockPos): getSeed, method_9535, getRenderingSeed

boolean (BlockState, NavigationType): isPathfindable, method_9516, canPathfindThrough

int[][] (Direction, Direction): bedStandUpOffsets, method_30838, getAroundAndOnBedOffsets

int[][] (Direction, Direction): bedSurroundStandUpOffsets, method_30840, getAroundBedOffsets

int[][] (Direction): bedAboveStandUpOffsets, method_30837, getOnBedOffsets

void (PlayerEntity, PlayerEntity$SleepFailureReason): lambda$useWithoutItem$3, method_55767, method_55767

void (PlayerEntity, Text): lambda$useWithoutItem$2, method_75743, method_75743

Map (): lambda$static$1, method_66389, method_66389

com.mojang.datafixers.kinds.App (com.mojang.serialization.codecs.RecordCodecBuilder$Instance): lambda$static$0, method_53978, method_53978