Class FallingStairsBlock

Direct Known Subclasses:
MortarReceiverStairsBlock

public class FallingStairsBlock extends StairsBlock
  • Constructor Details

    • FallingStairsBlock

      protected FallingStairsBlock(int iBlockID, Block referenceBlock, int iReferenceBlockMetadata)
  • Method Details

    • isFallingBlock

      public boolean isFallingBlock()
      Overrides:
      isFallingBlock in class Block
    • onBlockAdded

      public void onBlockAdded(World world, int i, int j, int k)
      Description copied from class: Block
      Called whenever the block is added into the world. Args: world, x, y, z // +++START EDIT+++ FCNOTE: Called on server only // ---END EDIT---
      Overrides:
      onBlockAdded in class StairsBlock
    • onNeighborBlockChange

      public void onNeighborBlockChange(World world, int i, int j, int k, int iNeighborBlockID)
      Description copied from class: Block
      Lets the block know when one of its neighbor changes. Doesn't know which neighbor changed (coordinates passed are their own) Args: x, y, z, neighbor blockID // +++START EDIT+++ FCNOTE: Only called on server // ---END EDIT---
      Overrides:
      onNeighborBlockChange in class Block
    • updateTick

      public void updateTick(World world, int i, int j, int k, Random rand)
      Description copied from class: Block
      Ticks the block if it's been scheduled // +++START EDIT+++ FCNOTE: Called on server only // ---END EDIT---
      Overrides:
      updateTick in class StairsBlock
    • tickRate

      public int tickRate(World par1World)
      Description copied from class: Block
      How many world ticks before ticking
      Overrides:
      tickRate in class StairsBlock
    • onStartFalling

      protected void onStartFalling(EntityFallingSand entity)
      Description copied from class: Block
      Only called on server
      Overrides:
      onStartFalling in class Block
    • renderFallingBlock

      @Environment(CLIENT) public void renderFallingBlock(RenderBlocks renderBlocks, int i, int j, int k, int iMetadata)
      Description copied from class: Block
      Applies both to falling blocks, and those pushed by pistons
      Overrides:
      renderFallingBlock in class Block