Class OreChunkStorageBlock

Direct Known Subclasses:
OreChunkStorageBlockGold, OreChunkStorageBlockIron

public abstract class OreChunkStorageBlock extends FallingFullBlock
  • Constructor Details

    • OreChunkStorageBlock

      protected OreChunkStorageBlock(int iBlockID)
  • Method Details

    • renderBlockSecondPass

      @Environment(CLIENT) public void renderBlockSecondPass(RenderBlocks renderBlocks, int i, int j, int k, boolean bFirstPassResult)
      Description copied from class: Block
      If the block has a second pass, like a kiln cooking overlay texture, it should Override this method. This method does not call the overlay by default to cut down on rendering time, since this function is called by every single loaded block. Note that this function is necessary to prevent potential recursion within RenderBlock, if it were to call its own overlays directly, and then potentially get called with a texture overlay itself through RenderBlockWithTexture.
      Overrides:
      renderBlockSecondPass in class Block