Class StokedFireBlock


public class StokedFireBlock extends BlockFire
  • Constructor Details

    • StokedFireBlock

      public StokedFireBlock(int iBlockID)
  • Method Details

    • onBlockAdded

      public void onBlockAdded(World world, int i, int j, int k)
      Description copied from class: BlockFire
      Called whenever the block is added into the world. Args: world, x, y, z
      Overrides:
      onBlockAdded in class BlockFire
    • tickRate

      public int tickRate(World world)
      Description copied from class: BlockFire
      How many world ticks before ticking
      Overrides:
      tickRate in class BlockFire
    • updateTick

      public void updateTick(World world, int x, int y, int z, 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 BlockFire
    • randomUpdateTick

      public void randomUpdateTick(World world, int i, int j, int k, Random rand)
      Description copied from class: Block
      Called on server only
      Overrides:
      randomUpdateTick in class Block
    • doesInfiniteBurnToFacing

      public boolean doesInfiniteBurnToFacing(IBlockAccess blockAccess, int i, int j, int k, int iFacing)
      Overrides:
      doesInfiniteBurnToFacing in class Block
    • validateState

      public boolean validateState(World world, int i, int j, int k)
      Return true if the Stoked fire block still remains
    • registerIcons

      @Environment(CLIENT) public void registerIcons(IconRegister register)
      Description copied from class: Block
      When this method is called, your block should register all the icons it needs with the given IconRegister. This is the only chance you get to register icons.
      Overrides:
      registerIcons in class BlockFire
    • getFireIcon

      @Environment(CLIENT) public Icon getFireIcon(int par1)
      Overrides:
      getFireIcon in class BlockFire
    • getIcon

      @Environment(CLIENT) public Icon getIcon(int par1, int par2)
      Description copied from class: Block
      From the specified side and block metadata retrieves the blocks texture. Args: side, metadata
      Overrides:
      getIcon in class BlockFire
    • renderBlock

      @Environment(CLIENT) public boolean renderBlock(RenderBlocks renderBlocks, int x, int y, int z)
      Overrides:
      renderBlock in class BlockFire
    • doesItemRenderAsBlock

      @Environment(CLIENT) public boolean doesItemRenderAsBlock(int iItemDamage)
      Overrides:
      doesItemRenderAsBlock in class Block
    • renderBlockAsItem

      @Environment(CLIENT) public void renderBlockAsItem(RenderBlocks renderBlocks, int iItemDamage, float fBrightness)
      Overrides:
      renderBlockAsItem in class Block