Friday, 27 December 2013

Forge - TileEntities

Registries

  • GameRegistry.registerTileEntity to add your TileEntity’s name
  • ClientRegistry.bindTileEntitySpecialRenderer (in conjuction with a TileEntitySpecialRenderer class).  The renderer is bound directly to the object’s class definition, unlike Block or Item there is no “shared ID” required.

New methods and classes

  • Several new methods added around rendering and controlling object lifetime

Events

None



~Overview of Forge (and what it can do for you)
    Forge concepts
           Some general notes
           How Forge starts up your code (@Mod, @SidedProxy, etc)  
           Registering your classes
           Extra methods for vanilla base classes
           Events
     Forge summary - grouped by task
           Blocks
           Items
           TileEntities
           Entities
           World generation, loading, saving
           Miscellaneous - player input, rendering, GUI, chat, sounds

No comments:

Post a Comment