Custom Entity Models

Custom Entity Models

Custom Entity Models suport on Fabric

by
747.9K Downloads
fabriclibraryutility
Configure a Compatible Minecraft Server

About this Mod

Custom Entity Models (but for Fabric)

An implementation of custom entity models heavily based off of Optifine's format that aims to achieve feature parity with Optifine's custom entity models.

Current State of this Mod

This mod is currently in ALPHA, meaning that things MAY or MAY NOT work properly! There is absolutely no
guarantee that things will work as intended or at all!

Installation

Check out Modrinth page,
the CurseForge page, or
build it yourself. This mod requires the installation of the Fabric Loader.
If you want to configure this mod, the installation
of YACL is also required.

Additionally, this resource pack or a derivative of it is required to work with optifine CEM.

How to use

This mod loads .jem and .jpm files from "assets//cem" folder in resource packs. For resource packs intended to
be used with Optifine, renaming "
assets/minecraft/optifine/cem" to "assets/minecraft/cem" should work fine. If you install the optional dependencies, this
isn't necessary as there is an option within the
config to just load from optifine's folder structure.

Discord Server Link

Join my discord server here: https://discord.gg/3qxFZm7Ycw

For resource pack devs

The file format for the .jem and .jpm is identical to the Optfine's (check out here
, here,
and here). The folder structures inside "assets/dorianpb/cem" does not matter.
If you want to assign a custom model for a creeper, you could put the file as "assets/dorianpb/cem/creeper.jem", "assets/dorianpb/cem/creeper/creeper.jem", "
assets/dorianpb/cem/za/waurdo/creeper.jem", etc.

Differences

  • Most living entites should have support, and some non-living entites might not have anmimations.

  • No support for armor right now.

  • Individual part textures are not supported (you can only specify texture and texture size in the .jem file).

  • Sprites are not supported.

  • The attach option is not supported.

  • Currently, the animations do behave slightly differently than optifine's, just enough to break some packs.

Licensing

This project is licensed with LGPL v3.0. Please don't repost this project anywhere without my written permission first.

Goals

  • Implement the rest of the entities
  • Make animations perfect
  • attach support
  • A better icon! This one succs

For mod devs

If your fabric mod creates new entities, you can add support for CEM without too much work! Look at
net.dorianpb.external for an example implementation. Make sure to use the "
cem" entrypoint.

Credits

  • dorianpb, for actually creating the mod
  • sp614x, for Optifine's CEM, which this mod is based on
  • Mojang, for actually creating Minecraft
  • The Zombie Pigman, whose restoration is the entirety of my motivation for this project
  • Anyone else who decides to contribute (Look here)

Available Versions

0.8.0release
MC 1.20fabric
June 16, 2023
0.7.3release
MC 1.19.4fabric
March 25, 2023
0.7.3release
MC 1.19.4fabric
March 19, 2023
0.7.3-1.19release
MC 1.19, 1.19.1, 1.19.2fabric
February 26, 2023
0.7.3release
MC 1.19.3fabric
February 26, 2023

How to Install Custom Entity Models on Your Client

1

Install the Mod Loader Locally

Install fabric for your local Minecraft version.

2

Download the Matching File

Choose the Custom Entity Models file for fabric and Minecraft 1.20.

3

Install Mod

Place the .jar file in your local .minecraft/mods folder and restart Minecraft. No server-side installation is required.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.20, 1.19.4, 1.19.3 (+6 more)

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Does Custom Entity Models need to be installed on the Minecraft server?

No. Modrinth marks Custom Entity Models as unsupported on the server side. Install it only in your local Minecraft mods folder. Your server can remain unchanged unless the mod page lists an additional dependency.

Which version and loader does Custom Entity Models require?

Use a file for fabric and your exact Minecraft version. Supported versions include 1.20, 1.19.4, 1.19.3. Files for different loaders are not interchangeable.

Custom Entity Models is not working – what should I check?

First check the Minecraft version, loader version and required dependencies. Put the .jar file in your local .minecraft/mods folder and remove older duplicates. Because this mod is client-side, adding server RAM will not fix it.

Minecraft Server for Your Group

Custom Entity Models stays on your client. Host a compatible world for your group.

Recommended RAM
4 GBfrom €5.2/mo
Minimum 3 GB | per 8 players
Create Server Now
Client Compatibility Guide
NVMe SSD Storage
DDoS Protection included

Details

License
GNU Lesser General Public License v3.0 only
Server-side
Unsupported

Supported Versions

1.201.19.41.19.31.19.21.19.11.191.18.21.18.11.18