CEM Template Loader can be used to load the vanilla entity models for Minecraft: Java Edition, so you can use them in OptiFine CEM, or as texturing templates.
To use this plugin, head to the Tools menu and select CEM Template Loader. From here, select the model that you would like to edit and load it.
After editing your model, export it as an OptiFine JEM to the folder assets/minecraft/optifine/cem. If a texture is used in the model, make sure it saves with a valid file path.
When editing an entity model, you cannot rotate root groups (top level folders), or move the pivot points of root groups, as this can break your model. If you need to rotate a root group, use a subgroup. If you need to change a root group's pivot point, use CEM animations.
CEM Template Loader also includes an animation editor, so that you can create custom entity animations.
<style>
.about {
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
#about-content {
overflow-y: auto;
min-height: 128px;
}
#about-content > img {
width: 100%;
height: 128px;
object-fit: contain;
margin: 16px 0 24px;
filter: drop-shadow(0 3px 10px #0006);
}
#about-markdown-links {
display: flex;
justify-content: space-around;
margin: 20px 20px 0;
}
#about-markdown-links > a {
display: flex;
flex-direction: column;
align-items: center;
gap: 5px;
padding: 5px;
text-decoration: none;
flex-grow: 1;
flex-basis: 0;
color: var(--color-subtle_text);
text-align: center;
}
#about-markdown-links > a:hover {
background-color: var(--color-accent);
color: var(--color-light);
}
#about-markdown-links > a > i {
font-size: 32px;
width: 100%;
max-width: initial;
height: 32px;
text-align: center;
}
#about-markdown-links > a:hover > i {
color: var(--color-light) !important;
}
#about-markdown-links > a > p {
flex: 1;
display: flex;
align-items: center;
margin: 0;
}
</style>