Custom Entity Models — Minecraft Mods — MetaMods

Custom Entity Models

Active

Downloads

10

Last update

2 years ago

Versions

1.18 — 1.20
Client
Fabric
Libraries
Utils

Custom Entity Models

Custom Entity Models (for Fabric)

This modification represents an implementation of custom entity models built on the Optifine format and striving for full compatibility with its custom model system.

Current Project Status

The mod is in the ALPHA TESTING stage, which means possible malfunctions in operation! There are no guarantees of correct functioning of all features.

Installation and Requirements

Requires installed Fabric Loader. If you plan to configure the mod, you'll additionally need YACL.

For compatibility with Optifine CEM resource packs, a special resource pack or its derivative versions is required.

Usage

The mod loads .jem and .jpm files from the "assets//cem" folder in resource packs. For resource packs created for Optifine, it's sufficient to rename "assets/minecraft/optifine/cem" to "assets/minecraft/cem". When installing additional dependencies, this procedure is not required - there's an option in settings to load from the standard Optifine folder structure.

For Resource Pack Developers

The .jem and .jpm file format fully corresponds to the Optifine standard. The folder structure inside "assets/dorianpb/cem" doesn't matter - you can place model files in any convenient order.

Differences from Optifine

  • Most living entities are supported, but some non-living objects may lack animations
  • No armor support
  • Individual textures for separate model parts are not implemented
  • No sprite support
  • The attach option doesn't work
  • Animations work somewhat differently, which may cause issues with some resource packs

Development Plans

  • Adding support for remaining entity types
  • Improving the animation system
  • Implementing the attach function
  • Updating the mod icon

For Mod Developers

If your Fabric mod adds new entities, you can easily add CEM support. Study the example implementation in net.dorianpb.external and use the "cem" entry point.

Acknowledgments

  • dorianpb - mod creator
  • sp614x - developer of Optifine CEM, on which this project is based
  • Mojang - creators of Minecraft
  • All project contributors
Project members
dorianpb

dorianpb

Developer

Created: 11 Dec 2021

ID: 629