[EMF] Entity Model Features [Fabric & Forge]

[EMF] Entity Model Features [Fabric & Forge]

28M Downloads
EMF icon

Entity Model Features

Modrinth downloadsCurseForge downloads

EnviromentDiscord

Ko-fi

Entity Model Features (EMF) is a Fabric, Quilt & Forge mod that adds support for OptiFine's Custom Entity Models (CEM).
It's designed for anyone who wants to use the CEM resource pack features but to use mods such as Sodium, Continuity or ETF.

EMF in use
 

⚠️ 🚧 Work in Progress!

EMF is in a beta stage, meaning some things will probably work, but is expected for many not to. Before reporting an issue, make sure to read the roadmap and check the active issues. If your issue is mentioned there, don't report it and wait for it to be implemented. If not, report it in the Issues section.

Recommended mods

Please also install the below mods if you can, the obvious ones such as Sodium are not mentioned.

It should also go without saying EMF is incompatible with dorianpb's CEM and OptiFabric.

highly recommended

Entity Texture Features (ETF): EMF uses several features from my other mod ETF so it is recommended (and will one day soon be mandatory for some things I have planned)

Entity Culling: This mod does wonders for reducing entity rendering lag, doing even more than Sodium's included entity culling. I cannot recommend this enough.

Optional

YetAnotherConfigLib (YACL): EMF fabric uses YACL to create a settings screen for the time being, eventually it'll copy the ETF config screens to display on forge and fabric

Fresh Animations?

Since EMF is in beta, not everything works. However, the brilliant Fresh Animations resource

pack works out of the box, as it was the primary focus for this mod, no fork/pack editing required.

The addon packs for FA 1.8 is still quite broken with EMF in its current state.

Everything else in FA works!

Roadmap

(these are roughly in order but are all subject to change at any time during development)

  • ☑ .jem loading
  • ☑ Model animations
  • ☑ Random models
  • ☐ Re-add model overrides as the beta currently injects into the vanilla models (this will likely substantially fix many reported compatibility issues)
  • ☐ Re-add texture overrides
  • ☐ Support for Wither, Ender Dragon, block entity, minecart and boat models
  • ☐ Support modded mob .jem models
  • ☐ Add an optional EMF/CEM overriding directory for models to account for EMF differences
  • ☐ Fix attach = true cases
  • ☐ Position .jpms correctly
  • ☐ Fix remaining model issues
  • ☐ Sprite support
  • ☐ Full parity with OptiFine CEM
  • ☐ Backport to still commonly used older MC versions e.g. 1.16

EMF exclusive features

  • Custom armor models for bipeds File names: "MOBNAME_inner_armor.jem" & "MOBNAME_outer_armor.jem"
  • Player skin CEM support including animations, including slim skin! [Example player model pack without animations] File names: "player.jem" & "player_slim.jem"
  • The is_climbing animation variable 😈

FAQ

Q: What's different between EMF and dorianpb's CEM?

A: OptiFine CEM is a tricky and time-consuming thing to reproduce, with all of its weird quirks, both EMF and dorianpb's CEM can be entirely broken depending on the resource pack models loaded.

Keeping this in mind, EMF was built with a primary focus on Fresh Animations as the working goal. It's the reason why FA works better than most other resource packs in EMF, without need for a fork or an alternative resource pack. EMF also utilises ETF's random property reading to enable support for random entity models, mimicing the latest OptiFine behaviour.

For all other packs you might find one mod or the other works best for the time being. I do intend to close the gap between EMF and OptiFine but it has proven to be quite difficult (There is a reason these mods have taken a while to be functional on Fabric 💀)

(P.S: I also really wanted custom player model & animation support, which EMF adds :P)

Q: Do all CEM resource packs work?

A: Not yet, but that's the plan.

Q: Why is OptiFine CEM so hard to reproduce?

A: Customizing and changing entity models in Minecraft with a mod is actually quite easy to do when you know what to do (I pretty much had custom models loading within the first few hours of work on this mod). However, OptiFine does things quite differently, in a confusing way at times. So, reverse engineering is essential, and quite hard. EMF attempts to add all CEM features while being compatible as much as possible.

Q: Backports?

A: Once EMF reaches a stable state, backports will then be made regularly, to still popular Minecraft versions such as 1.16.