Salandora / Porting-Lib

A collection of utilities for porting mods from Forge to Fabric.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Porting Lib for Sophisticated Mods

A stripped down collection of utilities for porting sophisticated mods from Forge to Fabric.

Because the full version was doing too much

Use

Porting Lib is split into modules. All modules are available on this maven:

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.

Modules

Module Description
Porting-Lib Fat jar including all modules
extensions Extensions to vanilla classes for additional functionality
loot A small library to modify mob loot
model_loader Base loader for custom model types
networking A Forge-like packet system
tags Forge tags
tool_actions Utilities for tool interactions
transfer Storage implementations, client-side lookup, FluidStack, assorted transfer utilities
utility Miscellaneous utilities that are too niche for other modules

Contributing

See the contribution information.

Related APIs

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
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

About

A collection of utilities for porting mods from Forge to Fabric.

License:Other


Languages

Language:Java 100.0%