Class BedBlock

All Implemented Interfaces:
BlockEntityProvider, ItemConvertible

public class BedBlock extends HorizontalFacingBlock implements BlockEntityProvider
Mappings:
Namespace Name
official cip
intermediary net/minecraft/class_2244
named net/minecraft/block/BedBlock
  • Field Details

    • PART

      public static final EnumProperty<BedPart> PART
      Mappings:
      Namespace Name Mixin selector
      official a Lcip;a:Lcvp;
      intermediary field_9967 Lnet/minecraft/class_2244;field_9967:Lnet/minecraft/class_2754;
      named PART Lnet/minecraft/block/BedBlock;PART:Lnet/minecraft/state/property/EnumProperty;
    • OCCUPIED

      public static final BooleanProperty OCCUPIED
      Mappings:
      Namespace Name Mixin selector
      official b Lcip;b:Lcvi;
      intermediary field_9968 Lnet/minecraft/class_2244;field_9968:Lnet/minecraft/class_2746;
      named OCCUPIED Lnet/minecraft/block/BedBlock;OCCUPIED:Lnet/minecraft/state/property/BooleanProperty;
    • field_31009

      protected static final int field_31009
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lcip;c:I
      intermediary field_31009 Lnet/minecraft/class_2244;field_31009:I
      named field_31009 Lnet/minecraft/block/BedBlock;field_31009:I
    • TOP_SHAPE

      protected static final VoxelShape TOP_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official d Lcip;d:Ldwl;
      intermediary field_16788 Lnet/minecraft/class_2244;field_16788:Lnet/minecraft/class_265;
      named TOP_SHAPE Lnet/minecraft/block/BedBlock;TOP_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • field_31010

      private static final int field_31010
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official m Lcip;m:I
      intermediary field_31010 Lnet/minecraft/class_2244;field_31010:I
      named field_31010 Lnet/minecraft/block/BedBlock;field_31010:I
    • LEG_1_SHAPE

      protected static final VoxelShape LEG_1_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official e Lcip;e:Ldwl;
      intermediary field_16782 Lnet/minecraft/class_2244;field_16782:Lnet/minecraft/class_265;
      named LEG_1_SHAPE Lnet/minecraft/block/BedBlock;LEG_1_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • LEG_2_SHAPE

      protected static final VoxelShape LEG_2_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official f Lcip;f:Ldwl;
      intermediary field_16784 Lnet/minecraft/class_2244;field_16784:Lnet/minecraft/class_265;
      named LEG_2_SHAPE Lnet/minecraft/block/BedBlock;LEG_2_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • LEG_3_SHAPE

      protected static final VoxelShape LEG_3_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official g Lcip;g:Ldwl;
      intermediary field_16786 Lnet/minecraft/class_2244;field_16786:Lnet/minecraft/class_265;
      named LEG_3_SHAPE Lnet/minecraft/block/BedBlock;LEG_3_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • LEG_4_SHAPE

      protected static final VoxelShape LEG_4_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official h Lcip;h:Ldwl;
      intermediary field_16789 Lnet/minecraft/class_2244;field_16789:Lnet/minecraft/class_265;
      named LEG_4_SHAPE Lnet/minecraft/block/BedBlock;LEG_4_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • NORTH_SHAPE

      protected static final VoxelShape NORTH_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official i Lcip;i:Ldwl;
      intermediary field_16787 Lnet/minecraft/class_2244;field_16787:Lnet/minecraft/class_265;
      named NORTH_SHAPE Lnet/minecraft/block/BedBlock;NORTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • SOUTH_SHAPE

      protected static final VoxelShape SOUTH_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official j Lcip;j:Ldwl;
      intermediary field_16785 Lnet/minecraft/class_2244;field_16785:Lnet/minecraft/class_265;
      named SOUTH_SHAPE Lnet/minecraft/block/BedBlock;SOUTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • WEST_SHAPE

      protected static final VoxelShape WEST_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official k Lcip;k:Ldwl;
      intermediary field_16783 Lnet/minecraft/class_2244;field_16783:Lnet/minecraft/class_265;
      named WEST_SHAPE Lnet/minecraft/block/BedBlock;WEST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • EAST_SHAPE

      protected static final VoxelShape EAST_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official l Lcip;l:Ldwl;
      intermediary field_16790 Lnet/minecraft/class_2244;field_16790:Lnet/minecraft/class_265;
      named EAST_SHAPE Lnet/minecraft/block/BedBlock;EAST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • color

      private final DyeColor color
      Mappings:
      Namespace Name Mixin selector
      official n Lcip;n:Lbyt;
      intermediary field_9966 Lnet/minecraft/class_2244;field_9966:Lnet/minecraft/class_1767;
      named color Lnet/minecraft/block/BedBlock;color:Lnet/minecraft/util/DyeColor;
  • Constructor Details

    • BedBlock

      public BedBlock(DyeColor color, AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcip;<init>(Lbyt;Lcuq$c;)V
      intermediary <init> Lnet/minecraft/class_2244;<init>(Lnet/minecraft/class_1767;Lnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/BedBlock;<init>(Lnet/minecraft/util/DyeColor;Lnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • getDirection

      @Nullable public static @Nullable Direction getDirection(BlockView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcip;a(Lcfg;Lgt;)Lgy;
      intermediary method_18476 Lnet/minecraft/class_2244;method_18476(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2350;
      named getDirection Lnet/minecraft/block/BedBlock;getDirection(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Direction;
    • onUse

      public ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
      Called when this block is used by a player. This, by default, is bound to using the right mouse button.

      This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using world.isClient().

      If the action result is successful on a logical client, then the action will be sent to the logical server for processing.

      Overrides:
      onUse in class AbstractBlock
      Returns:
      an action result that specifies if using the block was successful.
      Mappings:
      Namespace Name Mixin selector
      official a Lcuq;a(Lcur;Lcga;Lgt;Lbtf;Lazl;Ldvo;)Lazm;
      intermediary method_9534 Lnet/minecraft/class_4970;method_9534(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Lnet/minecraft/class_3965;)Lnet/minecraft/class_1269;
      named onUse Lnet/minecraft/block/AbstractBlock;onUse(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/util/hit/BlockHitResult;)Lnet/minecraft/util/ActionResult;
    • isBedWorking

      public static boolean isBedWorking(World world)
      Returns whether the world's dimension type allows beds to be respawned at and slept in without exploding.
      Returns:
      whether the world's dimension type allows beds to be respawned at and slept in without exploding
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcip;a(Lcga;)Z
      intermediary method_27352 Lnet/minecraft/class_2244;method_27352(Lnet/minecraft/class_1937;)Z
      named isBedWorking Lnet/minecraft/block/BedBlock;isBedWorking(Lnet/minecraft/world/World;)Z
    • wakeVillager

      private boolean wakeVillager(World world, BlockPos pos)
      Wakes up a sleeping villager at pos, if any.
      Returns:
      whether a villager was found
      Mappings:
      Namespace Name Mixin selector
      official a Lcip;a(Lcga;Lgt;)Z
      intermediary method_22357 Lnet/minecraft/class_2244;method_22357(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Z
      named wakeVillager Lnet/minecraft/block/BedBlock;wakeVillager(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
    • onLandedUpon

      public void onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance)
      Overrides:
      onLandedUpon in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lciw;a(Lcga;Lcur;Lgt;Lbaq;F)V
      intermediary method_9554 Lnet/minecraft/class_2248;method_9554(Lnet/minecraft/class_1937;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;F)V
      named onLandedUpon Lnet/minecraft/block/Block;onLandedUpon(Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;F)V
    • onEntityLand

      public void onEntityLand(BlockView world, Entity entity)
      Overrides:
      onEntityLand in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lciw;a(Lcfg;Lbaq;)V
      intermediary method_9502 Lnet/minecraft/class_2248;method_9502(Lnet/minecraft/class_1922;Lnet/minecraft/class_1297;)V
      named onEntityLand Lnet/minecraft/block/Block;onEntityLand(Lnet/minecraft/world/BlockView;Lnet/minecraft/entity/Entity;)V
    • bounceEntity

      private void bounceEntity(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lcip;a(Lbaq;)V
      intermediary method_21838 Lnet/minecraft/class_2244;method_21838(Lnet/minecraft/class_1297;)V
      named bounceEntity Lnet/minecraft/block/BedBlock;bounceEntity(Lnet/minecraft/entity/Entity;)V
    • getStateForNeighborUpdate

      public BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos)
      Gets the possibly updated block state of this block when a neighboring block is updated.
      Overrides:
      getStateForNeighborUpdate in class AbstractBlock
      Parameters:
      state - the state of this block
      direction - the direction from this block to the neighbor
      neighborState - the state of the updated neighbor block
      world - the world
      pos - the position of this block
      neighborPos - the position of the neighbor block
      Returns:
      the new state of this block
      Mappings:
      Namespace Name Mixin selector
      official a Lcuq;a(Lcur;Lgy;Lcur;Lcgb;Lgt;Lgt;)Lcur;
      intermediary method_9559 Lnet/minecraft/class_4970;method_9559(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
      named getStateForNeighborUpdate Lnet/minecraft/block/AbstractBlock;getStateForNeighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • getDirectionTowardsOtherPart

      private static Direction getDirectionTowardsOtherPart(BedPart part, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lcip;a(Lcvf;Lgy;)Lgy;
      intermediary method_9488 Lnet/minecraft/class_2244;method_9488(Lnet/minecraft/class_2742;Lnet/minecraft/class_2350;)Lnet/minecraft/class_2350;
      named getDirectionTowardsOtherPart Lnet/minecraft/block/BedBlock;getDirectionTowardsOtherPart(Lnet/minecraft/block/enums/BedPart;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/math/Direction;
    • onBreak

      public void onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)
      Overrides:
      onBreak in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lciw;a(Lcga;Lgt;Lcur;Lbtf;)V
      intermediary method_9576 Lnet/minecraft/class_2248;method_9576(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1657;)V
      named onBreak Lnet/minecraft/block/Block;onBreak(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;)V
    • getPlacementState

      @Nullable public @Nullable BlockState getPlacementState(ItemPlacementContext ctx)
      Overrides:
      getPlacementState in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lciw;a(Lcca;)Lcur;
      intermediary method_9605 Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;
      named getPlacementState Lnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
    • getOutlineShape

      public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getOutlineShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcuq;a(Lcur;Lcfg;Lgt;Ldvx;)Ldwl;
      intermediary method_9530 Lnet/minecraft/class_4970;method_9530(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
      named getOutlineShape Lnet/minecraft/block/AbstractBlock;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
    • getOppositePartDirection

      public static Direction getOppositePartDirection(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official g Lcip;g(Lcur;)Lgy;
      intermediary method_24163 Lnet/minecraft/class_2244;method_24163(Lnet/minecraft/class_2680;)Lnet/minecraft/class_2350;
      named getOppositePartDirection Lnet/minecraft/block/BedBlock;getOppositePartDirection(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/math/Direction;
    • getBedPart

      public static DoubleBlockProperties.Type getBedPart(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official h Lcip;h(Lcur;)Lckt$a;
      intermediary method_24164 Lnet/minecraft/class_2244;method_24164(Lnet/minecraft/class_2680;)Lnet/minecraft/class_4732$class_4733;
      named getBedPart Lnet/minecraft/block/BedBlock;getBedPart(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/DoubleBlockProperties$Type;
    • isBedBelow

      private static boolean isBedBelow(BlockView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lcip;b(Lcfg;Lgt;)Z
      intermediary method_30839 Lnet/minecraft/class_2244;method_30839(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
      named isBedBelow Lnet/minecraft/block/BedBlock;isBedBelow(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • findWakeUpPosition

      public static Optional<Vec3d> findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, float spawnAngle)
      Mappings:
      Namespace Name Mixin selector
      official a Lcip;a(Lbau;Lcfk;Lgt;F)Ljava/util/Optional;
      intermediary method_9484 Lnet/minecraft/class_2244;method_9484(Lnet/minecraft/class_1299;Lnet/minecraft/class_1941;Lnet/minecraft/class_2338;F)Ljava/util/Optional;
      named findWakeUpPosition Lnet/minecraft/block/BedBlock;findWakeUpPosition(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/CollisionView;Lnet/minecraft/util/math/BlockPos;F)Ljava/util/Optional;
    • findWakeUpPosition

      private static Optional<Vec3d> findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, Direction bedDirection, Direction respawnDirection)
      Mappings:
      Namespace Name Mixin selector
      official a Lcip;a(Lbau;Lcfk;Lgt;Lgy;Lgy;)Ljava/util/Optional;
      intermediary method_30835 Lnet/minecraft/class_2244;method_30835(Lnet/minecraft/class_1299;Lnet/minecraft/class_1941;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;)Ljava/util/Optional;
      named findWakeUpPosition Lnet/minecraft/block/BedBlock;findWakeUpPosition(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/CollisionView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;)Ljava/util/Optional;
    • findWakeUpPosition

      private static Optional<Vec3d> findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, int[][] possibleOffsets, boolean ignoreInvalidPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcip;a(Lbau;Lcfk;Lgt;[[IZ)Ljava/util/Optional;
      intermediary method_30836 Lnet/minecraft/class_2244;method_30836(Lnet/minecraft/class_1299;Lnet/minecraft/class_1941;Lnet/minecraft/class_2338;[[IZ)Ljava/util/Optional;
      named findWakeUpPosition Lnet/minecraft/block/BedBlock;findWakeUpPosition(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/CollisionView;Lnet/minecraft/util/math/BlockPos;[[IZ)Ljava/util/Optional;
    • getPistonBehavior

      public PistonBehavior getPistonBehavior(BlockState state)
      Overrides:
      getPistonBehavior in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official d Lcuq;d(Lcur;)Ldpd;
      intermediary method_9527 Lnet/minecraft/class_4970;method_9527(Lnet/minecraft/class_2680;)Lnet/minecraft/class_3619;
      named getPistonBehavior Lnet/minecraft/block/AbstractBlock;getPistonBehavior(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/piston/PistonBehavior;
    • getRenderType

      public BlockRenderType getRenderType(BlockState state)
      Overrides:
      getRenderType in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official b_ Lcuq;b_(Lcur;)Lcos;
      intermediary method_9604 Lnet/minecraft/class_4970;method_9604(Lnet/minecraft/class_2680;)Lnet/minecraft/class_2464;
      named getRenderType Lnet/minecraft/block/AbstractBlock;getRenderType(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockRenderType;
    • appendProperties

      protected void appendProperties(StateManager.Builder<Block,BlockState> builder)
      Overrides:
      appendProperties in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lciw;a(Lcus$a;)V
      intermediary method_9515 Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)V
      named appendProperties Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
    • createBlockEntity

      public BlockEntity createBlockEntity(BlockPos pos, BlockState state)
      Specified by:
      createBlockEntity in interface BlockEntityProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lcle;a(Lgt;Lcur;)Lcsl;
      intermediary method_10123 Lnet/minecraft/class_2343;method_10123(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_2586;
      named createBlockEntity Lnet/minecraft/block/BlockEntityProvider;createBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/entity/BlockEntity;
    • onPlaced

      public void onPlaced(World world, BlockPos pos, BlockState state, @Nullable @Nullable LivingEntity placer, ItemStack itemStack)
      Overrides:
      onPlaced in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lciw;a(Lcga;Lgt;Lcur;Lbbf;Lcaa;)V
      intermediary method_9567 Lnet/minecraft/class_2248;method_9567(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;)V
      named onPlaced Lnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;)V
    • getColor

      public DyeColor getColor()
      Mappings:
      Namespace Name Mixin selector
      official b Lcip;b()Lbyt;
      intermediary method_9487 Lnet/minecraft/class_2244;method_9487()Lnet/minecraft/class_1767;
      named getColor Lnet/minecraft/block/BedBlock;getColor()Lnet/minecraft/util/DyeColor;
    • getRenderingSeed

      public long getRenderingSeed(BlockState state, BlockPos pos)
      Overrides:
      getRenderingSeed in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcuq;a(Lcur;Lgt;)J
      intermediary method_9535 Lnet/minecraft/class_4970;method_9535(Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;)J
      named getRenderingSeed Lnet/minecraft/block/AbstractBlock;getRenderingSeed(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)J
    • canPathfindThrough

      public boolean canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
      Overrides:
      canPathfindThrough in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcuq;a(Lcur;Lcfg;Lgt;Ldpo;)Z
      intermediary method_9516 Lnet/minecraft/class_4970;method_9516(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_10;)Z
      named canPathfindThrough Lnet/minecraft/block/AbstractBlock;canPathfindThrough(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/ai/pathing/NavigationType;)Z
    • getAroundAndOnBedOffsets

      private static int[][] getAroundAndOnBedOffsets(Direction bedDirection, Direction respawnDirection)
      Mappings:
      Namespace Name Mixin selector
      official a Lcip;a(Lgy;Lgy;)[[I
      intermediary method_30838 Lnet/minecraft/class_2244;method_30838(Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;)[[I
      named getAroundAndOnBedOffsets Lnet/minecraft/block/BedBlock;getAroundAndOnBedOffsets(Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;)[[I
    • getAroundBedOffsets

      private static int[][] getAroundBedOffsets(Direction bedDirection, Direction respawnDirection)
      Mappings:
      Namespace Name Mixin selector
      official b Lcip;b(Lgy;Lgy;)[[I
      intermediary method_30840 Lnet/minecraft/class_2244;method_30840(Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;)[[I
      named getAroundBedOffsets Lnet/minecraft/block/BedBlock;getAroundBedOffsets(Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;)[[I
    • getOnBedOffsets

      private static int[][] getOnBedOffsets(Direction bedDirection)
      Mappings:
      Namespace Name Mixin selector
      official a Lcip;a(Lgy;)[[I
      intermediary method_30837 Lnet/minecraft/class_2244;method_30837(Lnet/minecraft/class_2350;)[[I
      named getOnBedOffsets Lnet/minecraft/block/BedBlock;getOnBedOffsets(Lnet/minecraft/util/math/Direction;)[[I