-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Real Ant Engineer edited this page Oct 29, 2025
·
2 revisions
Formic API is a modular library providing tools for simulation, formatting, and structure management in Minecraft Forge mods.
Itโs organized into five main systems:
๐ Math
Core mathematical utilities for simulation and physical modeling:
- 1D & 2D tabulated functions for data interpolation
- Numerical solvers and derivation helpers
๐งฎ Units & Formatting
A unit-aware text formatting system:
- Customizable physical units (
Temperature,Pressure,RadiationFlux, etc.) - Unified interface for consistent UI text generation
๐๏ธ Multiblock
A flexible API for creating and managing block entites that are more than one block large:
- Controllers (
IMBController,MBController,MBKineticController) - Shape and structure logic (
MBShape,MBStructureBlock)
๐๏ธ Data Loaders
Datapack-driven data integration and generation tools:
-
FloatMapDataLoader<T>โ a generic float-value map for any registry (blocks, fluids, biomes, etc.) -
TwoDTabulatedFunctionLoaderโ loads tabulated 2D functions from datapacks -
TwoDTabulatedFunctionProviderโ generates 2D tables during data generation (datagen)
๐ง Water Models (EOS)
Physical modeling utilities for real gas and fluid behavior:
- State representation (
SpecificRealGazState) - Cubic equations of state (
PengRobinsonEOS,VanDerWaalsEOS,WaterCubicEOS) - Tools for pressure, enthalpy, and phase equilibrium calculations
๐งฑ Formic API powers scientific, modular, and data-driven gameplay systems.