Custom Colorful Enchantment
a mod that enable modder and player adjust the color of enchantment.
截图
介绍
For modder, use API.For player, use config/colorful_enchantment_cfg.json.
to adjust the color of enchantment.
This module allows players to use Json or create accessory modules to adjust enchanted light effects.
Json
Config
{
Colors: []
}
Colors is an array of lighting effects.
light efficiency term
custom_colorful_encumber: enhancement
Example:
{
"Type": "custom_colorful_enhancement: enhancement",
"_comment_type": "But has accept_all means accept all items -- always true",
'_accept_all': true,
"Enhancement": "minecraft: fire_protection",
Color: 16711680,
_comment_color ":" 16777215 is # FFFFFF "
}
The type specifies that the lighting item type is custom_ Colorful_ Enhancement: Enhancement.
If there is an accept_ All, regardless of its value, applies to all enchantments. Otherwise, it only applies to the enhancement, and the color is RGB color code.
custom_colorful_enchange: ingredient
Example:
{
"Type": "custom_colorful_enchantment: ingredient",
"_comment_type": "But has accept_all means accept all items -- always true",
'_accept_all': true,
Color: 3928840,
"_comment_color": "65535 is # 3BD308",
'ingredient':{
"Item": "minecraft: wool",
Data: 0
},
_comment_ingredient ":" a ngredient used at recipe JSON "
}
If there is an accept_ All, regardless of its value, applies to all items. Otherwise, it only applies to ingredients, and the color is RGB color code. Ingredient is the original formula JSON used to determine whether an item can be synthesized.
API
Json loader
Listen to com.Hileb.custom_ Colorful_ Enrollment. api. registry. ColorFactoryRegistry $RegistryEvent to register.
This module comes with 2 loaders, which load Json to generate a color generator.
Custom_ Colorful_ Enhancement: enhancement
Custom_ Colorful_ Enhancement: ingredient
color generator
Listen to com.Hileb.custom_ Colorful_ Enrollment. api. registry. ColorInstancesRegistry $RegistryEvent to register.
It can be registered or generated by the loader.
This module comes with two color generators:
Minecraft: enhancement generates original enchanted light effect # 8040CB
Custom_ Colorful_ Enhancement: nbt If there is an enhancement in the item nbt_ Color adds this value as the lighting effect.
rendering
Canceled the original enchanted light rendering.
Obtain all lighting effects, average the Mod and render (merge).
Gallery
[]
常见问题
Custom Colorful Enchantment 支持哪些 Minecraft 版本?
Custom Colorful Enchantment 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Custom Colorful Enchantment 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Hileb 的其他作品
查看全部 →Add Potion into Your Food
使用药水桌,将 Taoism Deeplake 称作“PPAP”的这个模组,可以把药水效果加入食物或药水中。
Redirectionor [Retro]
避免在代码中分配枚举值,提升游戏性能。
FermiumBooterDepoliticization
在 FermiumBooter 和 MixinBooter 之间搭建桥接层
Resource Mod Loader
一种可将资源包作为模组加载的加载器。
评论
登录后评论和评分