Class BedrockBlock

Direct Known Subclasses:
StructureVoidBlock

public class BedrockBlock extends FullBlock
  • Constructor Details

    • BedrockBlock

      public BedrockBlock(int iBlockID)
  • Method Details

    • getMobilityFlag

      public int getMobilityFlag()
      Description copied from class: Block
      Returns the mobility information of the block, 0 = free, 1 = can't push but can move over, 2 = total immobility and stop pistons // +++START EDIT+++ FCMOD: 3 = can be piston shoveled, but free otherwise // ---END EDIT---
      Overrides:
      getMobilityFlag in class Block
    • canMobsSpawnOn

      public boolean canMobsSpawnOn(World world, int i, int j, int k)
      Description copied from class: Block
      This is only a first-pass indicator as to whether ANY mobs can spawn on top of the block, so stuff like leaves where only Jungle Spiders can spawn on them, should still return true.
      Overrides:
      canMobsSpawnOn in class Block
    • getStackRetrievedByBlockDispenser

      public ItemStack getStackRetrievedByBlockDispenser(World world, int i, int j, int k)
      Description copied from class: Block
      If the stack returned is null, the block will not be retrieved
      Overrides:
      getStackRetrievedByBlockDispenser in class Block
    • canWitherDestroyBlock

      public boolean canWitherDestroyBlock()
      Overrides:
      canWitherDestroyBlock in class Block