your current location:首页 > news>Custom Colorful Enchantment Minecraft)

Custom Colorful Enchantment Minecraft)

2024-12-12 09:23:36|Myriagame |source:minecraft skins

This module allows players to use JSON or make affiliated modules to adjust the enchanting light effect.

From 1.0.3, there is no longer ahead.

Json

Config

 {"color": []} 

Colors is an array of optical effects.

Light efficiency item

CUSTOM_COLOROL_ENCHANTMENT: Enchantment

Example:

 {"type": "custom_colorful_enchantment: enchantment", "_Comment_Type": "But Has Accept_all Means Accept All ites -Always true "," _accept_all ": true," enchantment ":"Minecraft: Fire_protection", "COLOR": 16711680, "_Comment_Color": "16,777,215 is #ffffff"} 

Type specifies the type of light effect item as Custom_Colorful_enchantment: Enchantment.

If the Accept_all exists, regardless of the value, it will work with all the enchantment.Otherwise, it only acts on Enchantment, and the color color is the RGB color code.

CUSTOM_COLOROLFUL_ENCHANTMENT: Ingredient

Example:

 {"type": "custom_colorful_enchantment: Ingredient", "_Comment_Type": "But Has Accept_all Means Accept All ites -Always true "," _accept_all ": true," color ":3928840, "_Comment_color": "65535 is#3BD308", "Ingredient": {"item": "minecraft: wool", "data": 0}, "_Comment_INGREDIENT": "A Ingredient" Use recipe json "} 

If the Accept_all is existing, regardless of the value, it is active and all items.Otherwise, it only acts on the Ingredient, and the color color is RGB color code.Ingredient is the Ingredient used by the original formula JSON to determine whether the item can synthesize.API

Json loader

Surveillance com.hileb.custom_colorful_enchantment.APISTRY.Registry.ColorFactoryRegistry $ Registryevent.

The module comes with two loaders, and the loader loads JSON to generate a color generator.

 Custom_ColorFul_enchantment: EnchantmentCustom_ColorFul_enchantment: Ingredient 

Color generator

Surveillance com.hileb.custom_colorful_enchantment.Api.Registry.ColorInstancesRegistry $ Registryevent.

Can be registered or generated by the loader.

This module comes with two color generators:

 Minecraft: Enchantment generates the original enchanting light effect#8040cbcustom_colorFul_enchantment: NBT If there is an enchantment_color in the item NBT, the value is added to light effect.

Rendering

The original enchanting light effect rendering was canceled.

To obtain all optical effects, the MOD is rendered (merged) after taking the average value.

gallery

Minecraft images