Porting Lib is split into modules. All modules are available on this maven:
maven { url = "https://mvn.devos.one/snapshots/" }
modImplementation(include("io.github.fabricators_of_create.Porting-Lib:<module>:<version>"))
The latest major and minor versions can be found in the gradle.properties
file as mod_version
.
The latest patch can be found from GitHub Actions as the build number.
Module | Description |
---|---|
porting-lib |
Fat jar including all modules |
accessors |
Accessor mixins aplenty |
attributes |
Additional Entity Attributes; step height, gravity, swim speed |
base |
Code that has not yet been split into modules |
common |
Miscellaneous utilities for other modules |
constants |
Internal constants used by Porting Lib |
entity |
Multipart entities, extra spawn data, removal listening |
extensions |
Extensions to vanilla classes for additional functionality |
model_generators |
Forge model generators |
model_loader |
Base loader for custom model types |
models |
Model implementations, ModelData, RenderTypes |
networking |
A Forge-like packet system |
obj_loader |
Loading .obj models |
tags |
Forge tags |
transfer |
Storage implementations, client-side lookup, FluidStack, assorted transfer utilities |
lazy_registration |
A implementation of forge's DeferredRegister system rewritten for fabric |
See the contribution information.
Some APIs (some in-house) we've found to also be useful with porting mods.
Name | Description |
---|---|
Forge Config API Port | A port of the Forge config API to Fabric |
Registrate Refabricated | A port of Registrate to Fabric |
Reach Entity Attributes | Provides Entity Attributes for reach distance |
Fake Player API | Provides an easy way to create fake players while minimizing issues |
Milk Lib | Provides a Milk fluid as well as other milk items used often by mods |
Serialization Hooks | Allows creating custom Ingredients and Values |
Cardinal Components API | Provides Components, which can replace Capabilities |
Trinkets | Accessories, replacing Curios |
Here be no Dragons | Hides the Experimental World Settings screen |
Mixin Extras | For when Mixin just isn't enough |
Fabric ASM | For when Mixin Extras just isn't enough |