Download ModelLoader — Minecraft Mods — MetaMods

ModelLoader

Active

Downloads

10

Last update

5 years ago
Client
Fabric
Quilt
Forge
Neoforge
Libraries

ModelLoader

The ModelLoader library provides mod developers with the ability to load 3D models in two popular formats: mcx and gltf.

Main Features

The library supports two main operation modes:

  • Automatic loading of models specified in blockstate JSON files (using ModelLoaderApi.registerDomain(MOD_ID))
  • Direct model registration by specifying their identifier and location (using ModelLoaderApi.registerModel(id, location))

After loading, you can retrieve the baked model and original model data through the ModelLoaderApi.getModelEntry(id) method.

Supported Formats

MCX is a simple JSON serialization of IBakedModel, making this format easy to understand and modify.

GlTF is a more complex format that uses binary encoding to optimize file sizes. It supports animations and is becoming an industry standard in the gaming industry.

Model Creation Tools

Both types of models can be created using my 3D modeler, which supports:

  • Free vertex editing
  • UV mapping work
  • Animation creation

Interface example

UV work

Model editing

Animations

Project members
cout970

cout970

Created: 12 Feb 2020

ID: 28181