Mineuniverse
Log in Register
Mods

Custom Colorful Enchantment

a mod that enable modder and player adjust the color of enchantment.
by Hileb
Claim this project
413 downloads
0 likes
Updated Jun 30, 2026
0 hypes
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

[Texture]

No files available for download.

More from Hileb

Pre Fish Feed
764
Custom Village
701
Redirectionor [Retro]
632,662
Curse Forge
461
FermiumBooterDepoliticization
45,603
Lang Magic Tweaker
36

You Might Also Like

Vivecraft
A Minecraft VR mod on a loader of your choice!
9,988,339
Athena
A crossplatform (Forge/Fabric) solution to connected block textures for 1.19.4+
99,799,527
Lodestone
A collection of code used throughout projects under the Lodestar team.
9,914,417
TheDragonLib
A library for most of sokratis12GR's Mods
9,910,232
Multi Mob Library
A library mod containing essential files for Daveyx0's mob mods
9,892,767
FTB Library (Forge) (Legacy)
FTB Library is a library mod that is used for some of our mods.
98,265,314