Class BedBlock

    • Field Detail

      • headBlockToFootBlockMap

        public static final int[][] headBlockToFootBlockMap
    • Constructor Detail

      • BedBlock

        public BedBlock​(int var1)
    • Method Detail

      • blockActivated

        public boolean blockActivated​(World var1,
                                      int var2,
                                      int var3,
                                      int var4,
                                      Player var5)
        Overrides:
        blockActivated in class Block
      • isOpaqueCube

        public boolean isOpaqueCube()
        Overrides:
        isOpaqueCube in class Block
      • onNeighborBlockChange

        public void onNeighborBlockChange​(World var1,
                                          int var2,
                                          int var3,
                                          int var4,
                                          int var5)
        Overrides:
        onNeighborBlockChange in class Block
      • idDropped

        public int idDropped​(int var1,
                             java.util.Random var2,
                             int var3)
        Overrides:
        idDropped in class Block
      • isBlockFootOfBed

        public static boolean isBlockFootOfBed​(int var0)
      • isBedOccupied

        public static boolean isBedOccupied​(int var0)
      • setBedOccupied

        public static void setBedOccupied​(World var0,
                                          int var1,
                                          int var2,
                                          int var3,
                                          boolean var4)
      • getNearestEmptyChunkCoordinates

        public static ChunkCoordinates getNearestEmptyChunkCoordinates​(World var0,
                                                                       int var1,
                                                                       int var2,
                                                                       int var3,
                                                                       int var4)
      • dropBlockAsItemWithChance

        public void dropBlockAsItemWithChance​(World var1,
                                              int var2,
                                              int var3,
                                              int var4,
                                              int var5,
                                              float var6,
                                              int var7)
        Overrides:
        dropBlockAsItemWithChance in class Block