Class CrucibleBlock

All Implemented Interfaces:
MechanicalBlock, ITileEntityProvider

public class CrucibleBlock extends CookingVesselBlock
  • Constructor Details

    • CrucibleBlock

      public CrucibleBlock(int iBlockID)
  • Method Details

    • createNewTileEntity

      public TileEntity createNewTileEntity(World world)
      Description copied from interface: ITileEntityProvider
      Returns a new instance of a block's tile entity class. Called on placing the block.
    • validateFireUnderState

      protected void validateFireUnderState(World world, int i, int j, int k)
      Specified by:
      validateFireUnderState in class CookingVesselBlock
    • getContainerID

      protected int getContainerID()
      Specified by:
      getContainerID in class CookingVesselBlock
    • 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 VesselBlock
    • renderBlock

      @Environment(CLIENT) public boolean renderBlock(RenderBlocks renderBlocks, int i, int j, int k)
      Overrides:
      renderBlock in class VesselBlock