Skip to content

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

License

Notifications You must be signed in to change notification settings

rdrpenguin04/Porting-Lib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Porting Lib

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

Use

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.

Modules

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

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.9%
  • GLSL 0.1%