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:
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.
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 |
In addition to other statements, MCMOD.CN, all open public editing content uses the BY-NC-SA 3.0 protocol.
National Service DNF Dark Ni
2025-01-28 09:19:27The new screenshot of the be
2025-01-28 09:18:57The 15th anniversary wallpap
2025-01-28 09:18:273DM Xuanyuan Sinicization Gr
2025-01-28 09:17:57French magazine is the first
2025-01-28 09:17:27The sneak game "Republic" wi
2025-01-28 09:16:57The story between humans and
2025-01-28 09:16:27Capture "Trinity 3: Artifact
2025-01-28 09:15:27Wind direction change "Myste
2025-01-28 09:14:57DICE's new project "Dream" w
2025-01-28 09:14:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:26Master Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25King Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25Guide Minecraft Skins
Minecraft Skins
2024-12-10 04:11:24Dark Knight Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Sparta Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Moncraft Skins of the War
Minecraft Skins
2024-12-10 04:11:22Red Witch Minecraft Skins
Minecraft Skins
2024-12-10 04:11:22Golden Cavaliers Minecraft S
Minecraft Skins
2024-12-10 04:11:22