your current location:首页 > news>Armor Chroma (Armor Chroma) Minecraft

Armor Chroma (Armor Chroma) Minecraft

2024-12-15 02:16:04|Myriagame |source:minecraft skins

ARMOR Chroma displays the material of the armor on the armor value to beautify the game interface.

The effect is shown in the figure below:


Minecraft images


In addition to supporting the original armor, Armor Chroma also supports the color display of the armor of the following modules:

Blood Magic (Blood Magic);

Blood Arsenal;

Botania (Botania);

FSP steam power (Flaxbeard's Steam Power);

Industrial Age 2 (IC2);

The mysterious era (ThaumCraft);

Tainted Magic;

Thaumic Additions;

Thaumic Bases;

Witching Gadgets;

Thermal Foundation;

Twilight Forest (Twilight Forest);

Witchery.


According to the form structure and file content in the module file, you can add a new armor icon to it.

Specifically, you need to create a new directory Modid/Textures/GUI under the assets, and create armor_chroma.png and armor_chroma.json in the new directory, and edit the two files.The former is a transparent pixel background picture of 256 × 256. When operating, it starts with the first pixel from the upper left corner, and reads the corresponding armor icon in turn with a square of 9px × 9px;The file (position order number starts from 0, corresponding to the first 9 × 9 icon in the upper left corner).

Take the Armor_CHROMA.JSON of IC2 as an example:

{{

"Items": {{

"Advanced_batpack": 0, 0,

"Batpack": 1,

"Hazmat_*": 2, 2,

"Nano_*": 3, 3,

"Nightvision_goggles": 4,

"Quantum_*": 5, 5,

"Rubber_boots": 2,

"STATIC_BOOTS": 4

},

"Materials": {

"IC2_ALLOY": 6,

"IC2_bronze": 7

}

}

The value under "ITEMS" shall be the registration name of armor -type items, and the value under "Materials" shall be the registration name of Armormatorial.These values ​​can be found in the code.

Subsequently, refer to the original armor material material of the module, draw armor_chroma.png by itself, and then add it to the jar module file to display the custom armor bars icon in the game.


High version (1.16+) replacement: Detail Armor Bar (Forge/Fabric).

High version (1.16.5+) Fabric transplant: armor chroma for fabric.

Minecraft images

The goal of MC Encyclopedia (MCMOD.CN) is to provide players with a better environment for MOD learning and research, and accept and cultivate more hardcore players.Provide Minecraft (Minecraft) MOD (module) item data introduction, tutorial strategy and MOD download, and is committed to improving the player's game experience.About the encyclopedia Encyclopedia help development log Donate Encyclopedia to follow the encyclopedia B station = "Fa Fa-Anagle-Right"> Opinions feedback Email © CopyRight Mc Encyclopedia 2013-2024 mcmod.cn |

Minecraft images

Minecraft images

In addition to other statements, MCMOD.CN, all open public editing content uses the BY-NC-SA 3.0 protocol.