Skip to content

Folder Structure

Darien Gillespie edited this page Jan 6, 2023 · 19 revisions

JEMs uses a strict folder structure for its Resource Packs. If your pack does not adhere to this structure, it will not work as intended. The following sections will detail each of the structures for Models, Textures, and Animations.

Models

All models must be located in the assets/jsonentitymodels/geo directory. From there, the folder system is as follows:

.../entityName/(adult|baby)/...

The entityName should be the name of the entity in registry. Typically, this is given by the name of the mob in all lowercase with any spaces replaced by underscores (i.e. "creeper," "iron_golem," etc.). (adult|baby) indicates that both the entityName/baby and entityName/adult directories must exist. All mobs require at least one adult model (but the default mod ones will be used as a fallback if your pack does not include one). It is not necessary to include a file for baby models, but the folder should be included. If no baby models are supplied, an adult model will be used on the baby mob. Any subdirectories beyond the adult/baby directory are at your own discretion.

Textures

Similar to Vanilla Resource Packs, textures must be located in the assets/jsonentitymodels/textures/entity directory. From there, the folder system is as follows:

.../entityName/(adult|baby)/modelName/...

The modelName must exactly match the name of the model file this texture is for, excluding the .geo.json ending. Any subdirectories below the defined structure can be used at your own discretion.

Animations

The animation folder structure is very similar to the structure for textures. Animations must be located in the assets/jsonentitymodels/animations directory. From there, the folder system is as follows:

.../entityName/(adult|baby)/modelName/...

As before, the modelName must exactly match that of the model file which this animation file is to apply to. Again, any subdirectories are at your discretion.

Clone this wiki locally