Artmap Brushes
我创建了这款插件,用于将字符串应用到任意物品上的 custom_model_data NBT 标签中,前提是该物品的名称为 Artmap 插件所对应的颜色。如果物品被命名为其他名称、未命名,或者其现有的字符串不符合预期配置,该插件也会移除该标签或将其设置为配置文件中的值。近期的更新导致旧选项与 1.21.4 不兼容,因此我开发了此插件。理论上,它可以用于将任何 custom_model_data 字符串应用于任何物品,以满足各种用途。
2025年6月30日 更新:
由于在我的服务器上遇到了区域损坏问题,我暂时移除了该插件。在问题解决后,我通过在世界保存或暂停时挂起插件来增强其稳定性。我还添加了一个更新检查器,以便未来版本能够通知管理员!如果您也遇到过相同的问题,请尽快更新。我无法百分之百确定我的插件是导致问题的原因,如果您遇到类似情况,请报告。
权限和命令
权限
artmapbrushes.op
artmapbrushes.reload
- 允许使用
/artmapbrushesreload 命令
artmapbrushes.admin
- 允许使用
/artmapbrushesupdate(检查更新)
命令
/artmapbrushesreload
- 重新加载配置文件以更新 NBT 应用,无需重启服务器
/artmapbrushespause
/artmapbrushesresume
/artmapbrushesupdate
这只是解决方案的一半!
您的玩家仍然需要资源包才能实际看到新的纹理,本插件仅负责应用资源包读取所需的字符串。我已经制作了一个 x16 和一个 x32 的资源包,它们从 Gengyen 的调色板中提取了所有的十六进制色值,并将其应用到相应画笔的尖端,以便您能直观地看到正在使用的颜色。您可以在此处找到它们
依赖项!
本插件运行需要 NBTAPI。它负责处理 NBT 数据。
Artmap Brushes
I created this plugin to apply a string to the custom_model_data nbt tag of any item renamed to a color of the artmap plugin. Will also remove the tag if the item is named something else or unnamed or, if the string on it isnt what its supposed to be, it sets it to whats in the config. Recent changes have made old options incompatible with 1.21.4 so I created this. Theoretically it can be used to apply any custom_model_data string to any item for any purpose.
UPDATE 6-30-25:
After experiencing region corruptions on my server I removed this plugin temporarily. It stopped having the issue, so I made the plugin more robust by pausing it when the world is saving or paused. I also added an update checker so future releases can notify your admins! PLEASE update ASAP if you experienced the same. I cannot say with full confidence my plugin caused my issue, please report if you have had the same.
Permissions and commands
Permissions
artmapbrushes.op
- allows all commands to be used, admin permission
artmapbrushes.reload
- allows usage of the /artmapbrushesreload command
artmapbrushes.admin
- allows usage of /artmapbrushesupdate (checks for updates)
Commands
/artmapbrushesreload
- Reloads the config to update NBT application without a restart
/artmapbrushespause
- Pauses application of strings on named items
/artmapbrushesresume
- Resumes application of strings
/artmapbrushesupdate
- Checks github for updates
This is only half the equation!
Your players will still need the resource pack to actually see the new textures, this plugin just applies the string the pack reads. I have made a x16 and x32 resource pack that takes all of the hex values from Gengyen's palette and puts them on the tip of their relevant brushes so you can see the color you're painting with. They can be found here
Dependencies!
This plugin requires NBTAPI to run. It handles the NBT.
评论 0
登录后参与评分
还没有评论,来抢沙发吧