跳到正文

Another Armor Custom Model Data

作者:SNWCreations

Another Armor Custom Model Data (in short, AACMD), a mod which adds CustomModelData support to vanilla-like armor items.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

AACMD

AACMD (Another Armor Custom Model Data) is a mod which adds CustomModelData support
for vanilla-like armor items.

This mod is inspired by ArmorCustomModelData
and made as a technical solution of my friend’s creation.

What does it do?

Words above should be clear.

Technically, “vanilla-like armor items” means the armor items which are implemented on top of
vanilla “ArmorItem” class.

So armors which have custom renderers will NOT be supported by this mod because
I don’t know how they retrieve armor textures, and will they use vanilla armor models
or their own geo models.

As far as I know, these armors are commonly registered through Fabric Render API
with the implementation of Fabric ArmorRenderer interface, or something like it on
other platforms.

Why make it?

I know modders could register their own armors through Mod APIs, so this mod is not for them.

This mod is for the developers who just want to add many custom armor textures in a more vanilla way
to their bigger project which could accept mods.

How to use?

Just install this mod to your “mods” folder, then start your game.

Now you can use CustomModelData NBT on items.

However, this NBT will just make the “missing texture” rendered if you don’t have a resource pack associated with the custom model data value you uses.

The texture path (in resource location format) just like vanilla armor texture path,
but there are some changes:

  • Namespace changed to aacmd, the namespace of this mod.
  • CustomModelData value appended after the armor material name

For example, assets/aacmd/textures/models/armor/leather_1_layer_X.png
is the texture for leather armor items with CustomModelData valued 1, layer X.

If you want to ignore the material name, use IgnoreMaterial:1b NBT on the item.

For example, assets/aacmd/textures/models/armor/1_layer_X.png is the texture
for armor items with CustomModelData valued 1, layer X and ignored the material name.

License

Copyright (C) 2025 SNWCreations, Licensed under GNU AGPL v3 License.

常见问题

Another Armor Custom Model Data 支持哪些 Minecraft 版本?

Another Armor Custom Model Data 支持 Minecraft Java 版 1.20.1,可用的加载器:Fabric / Forge。下载时注意选择和你游戏版本一致的文件。

Another Armor Custom Model Data 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

SNWCreations 的其他作品

查看全部 →