
DragonAPI
DragonAPI is a function library and support mod that is essential for all my modifications to work. Without installing this API, the game will not launch and will display a NoClassDefFoundError mentioning DragonAPIMod.class.
Features for Developers
If you are involved in mod development, DragonAPI offers many useful functions:
- Complete catalog of all ores, trees, and similar objects added by popular mods
- Similar registry of standard Minecraft resources: ores, trees, plants, and other elements
- Base classes that can be used as parent classes for TileEntities, containers, and other objects, simplifying their use and expanding functionality
- Interfaces for automatic registration of your mod's blocks and items
- Ability to use textures from pre-1.5 version spritesheets for items (but not for blocks)
Mathematical and Scientific Functions
The library contains extensive collections of scientific and mathematical functions and constants, including:
- Materials science
- Thermodynamic calculations
- Kinematics
- Nuclear physics
- Vector calculations
- And much more
Additional Capabilities
- Helper functions for working with various Java data structures and their conversion
- File input/output processing, including PNG, XML, and plain text
- Functions for working with complex Minecraft elements: enchantments, spawners, and others
- Ready references to common items to avoid creating new Itemstacks for obtaining specific types of wood, slabs, dyes, etc.
- Keyboard, sound, texture, and chat handling
- Handlers for many popular mods, including BuildCraft, ThaumCraft, and Twilight Forest
- Tools for data storage: world regions, timers, rendering data, multiblock structure blueprints, and much more