Petrolpark's Library
This library contains shared code used in my Create add-ons and other modifications.
API Functionality
The library offers numerous useful tools for mod developers:
- Contaminant system for various game elements
- Items with quality degradation, including aging recipes
- Advanced ingredient modifiers with enhanced capabilities
- Shop system (in development)
- Badges and achievements for players
- Flexibly configurable creative mode tabs
- NumberProviders with support for item and entity subtypes
- Manual crafting recipes available only through guide
- Rendering of transparent dyeable items
- Nine-section element visualization
- Management of item compression recipes
- Helper functions for vector math, NBT work, and ray tracing
Create Integration
Special features for working with the Create mod:
- Tubular blocks with splines
- Contaminant propagation through most Create recipes
- Smart blocks capable of accumulating contaminants
- Recipes with increased luck on first use
- Saving contaminants in block data
- Biome-dependent recipes
- Textured blocks with non-standard placement
New instructions for the Ponder system:
- Camera shaking for emphasis
- Creation of fishing line
- Highlighting Ponder tags
- Arm swing animation for entities
- Outlining any areas
Additional capabilities:
- Behavior for blocks remembering their placer
- Helper functions for kinetic blocks
Shared Elements
These features add content (not just API) and are activated by specific dependent mods:
- Basin lid
- Extrusion die
- Mandrel (in development)
Dependent Mods
The library is used by the following modifications:
- Destroy
- Petrol's Parts
- pquality
Credits
The basin lid idea was borrowed with permission from the Create: Diesel Generators mod