Steamcraft2/API

This page contains information for modders, wishing to add integration or create addons for Steamcraft2. For regular users, this information is not very useful.

Ore Dictionary
All Ores, Ingots, Metal Blocks, Nuggets, Plates and dusts are registered according to Ore Dictionary Conventions (typeMaterial, e.g. ingotIron). Please note Cast Iron is registered as ingotCastIron not ingotCastiron. Listed below are additional items registered in the Ore Dictionary:

Metal Parts are registered as "part" e.g. "partCopperGear". For miscellaneous other registrations, see here

API
The API can be found in the 'steamapi' package of Boilerplate.

Modules
To add an item as a module, implement IArmorModule. You also need to register it using ModuleRegistry.registerModule

Chisel
To add a block that can be chiseled by our chisel, implement IChiselable on the block, and return the block it should be chiseled into in the method IChiselable makes you add.