Class LadderBlockFlaming


public class LadderBlockFlaming extends LadderBlockBase
  • Constructor Details

    • LadderBlockFlaming

      public LadderBlockFlaming(int iBlockID)
  • Method Details

    • idDropped

      public int idDropped(int iMetadata, Random rand, int iFortuneModifier)
      Description copied from class: Block
      Returns the ID of the items to drop on destruction.
      Overrides:
      idDropped in class LadderBlockBase
    • tickRate

      public int tickRate(World world)
      Description copied from class: Block
      How many world ticks before ticking
      Overrides:
      tickRate 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 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 Block
    • getDoesFireDamageToEntities

      public boolean getDoesFireDamageToEntities(World world, int i, int j, int k)
      Overrides:
      getDoesFireDamageToEntities in class Block
    • getCanBlockLightItemOnFire

      public boolean getCanBlockLightItemOnFire(IBlockAccess blockAccess, int i, int j, int k)
      Overrides:
      getCanBlockLightItemOnFire in class Block
    • canBeCrushedByFallingEntity

      public boolean canBeCrushedByFallingEntity(World world, int i, int j, int k, EntityFallingSand entity)
      Overrides:
      canBeCrushedByFallingEntity in class Block
    • lightLadderAtLocationIfPresent

      protected void lightLadderAtLocationIfPresent(World world, int i, int j, int k)
    • extinguish

      protected void extinguish(World world, int i, int j, int k)
    • isRainingOnLadder

      protected boolean isRainingOnLadder(World world, int i, int j, int k)
    • getBurnCounter

      protected int getBurnCounter(IBlockAccess blockAccess, int i, int j, int k)
    • getBurnCounter

      protected int getBurnCounter(int iMetadata)
    • setBurnCounter

      protected void setBurnCounter(World world, int i, int j, int k, int iCounter)
    • setBurnCounter

      protected int setBurnCounter(int iMetadata, int iCounter)
    • renderBlock

      @Environment(CLIENT) public boolean renderBlock(RenderBlocks renderBlocks, int i, int y, int z)
      Overrides:
      renderBlock in class LadderBlockBase
    • randomDisplayTick

      @Environment(CLIENT) public void randomDisplayTick(World world, int i, int j, int k, Random rand)
      Description copied from class: Block
      A randomly called display update to be able to add particles or other items for display
      Overrides:
      randomDisplayTick in class Block