Class OreBlock

All Implemented Interfaces:
Comparable<Content>, Senseable

public class OreBlock extends OverlayFloor
An overlay ore for a specific item type.
  • Constructor Details

    • OreBlock

      public OreBlock(String name, Item ore)
    • OreBlock

      public OreBlock(Item ore)
    • OreBlock

      public OreBlock(String name)
      For mod use only!
  • Method Details

    • setup

      public void setup(Item ore)
    • createIcons

      public void createIcons(MultiPacker packer)
      Description copied from class: UnlockableContent
      Generate any special icons for this content. Called synchronously. No regions are loaded at this point; grab pixmaps from the packer.
      Overrides:
      createIcons in class Floor
    • init

      public void init()
      Description copied from class: Block
      Called after all blocks are created.
      Overrides:
      init in class Floor
    • getDisplayName

      public String getDisplayName(Tile tile)
      Overrides:
      getDisplayName in class Floor