2024-12-10 17:47:32|Myriagame |source:minecraft skins
This tutorial is set by the author's setting without permission.
This method is based on Mixin technology. It is recommended to learn and master the basic principles first.
First of all, the material of the Mixin Flame Case (Note that the flames and the flame magic cauldron are registered separately), and then modify the logic of rendering:
Package com.hanz0.tellarisdlc.mixins;Import l_nder.cataclysm.Items.IGNITIUM_ARMOR;
import com.hanz0.tellarisdlc.init.tellarisdlcmodmobeffects;
import network.minecraft.World.entity.entity;
import network.minecraft.World.entity.equipmentsLot;
import network.minecraft.World.entity.livingntity;
import network.minecraft.World.entity.player.player;
import network.minecraft.World.Itemstack;
import org.spongepowered.asm.mixin.mixin;
Import org.spongepowered.asm.mixin.overwrite;
@Mixin (Value = Ignitium_armor.class, Remap = False)
public class ignitium_armormixin {
/**
*@Author
*@Reason
*/
@Overwrite
Public String Getarmortexture (Itemstack Stack, Entity Entity, Equipmentslot Slot, String Type) {{{{{{{{{{{{{{{{{
If (entity instanceofl livingntity liv) {
If (liv.haseffect (StellarisDLCMODMOBEFFECTS.ighis_slash.get ())) {) {) {) {) {) {
Return "Cataclysm: Textures/Armor/Soul_ignitium_armor"+(slot == Equipmentslot.legs? "_Legs_soul.png": ".png"));
}}
Return "Cataclysm: Textures/Armor/Ignitium_armor"+(slot == Equipmentslot.legs? "_Legs.png": ".png"));
}
}
Package com.hanz0.tellarisdlc.mixins;Import l_nder.cataclysm.Items.IGNITIUM_LYTRA_CHESTPLATE;
import com.hanz0.tellarisdlc.init.tellarisdlcmodmobeffects;
import network.minecraft.World.entity.entity;
import network.minecraft.World.entity.equipmentsLot;
import network.minecraft.World.entity.livingntity;
import network.minecraft.World.Itemstack;
import org.spongepowered.asm.mixin.mixin;
Import org.spongepowered.asm.mixin.overwrite;
Import javax.annotation.nullain;
@Mixin (Value = Ignitium_lytra_chestplate.class, Remap = FALSE)
public class ignitium_lytra_chestplatemixin {{
/**
*@Author
*@Reason
*/
@Nullable
@Overwrite
Public String Getarmortexture (Itemstack Stack, Entity Entity, Equipmentslot Slot, String Type) {{{{{{{{{{{{{{{{{
If (entity instanceofl livingntity liv) {
If (liv.haseffect (StellarisDLCMODMOBEFFECTS.ighis_slash.get ())) {) {) {) {) {) {
Return "Cataclysm: Textures/Armor/Soul_ignitium_lytra_chestplate.png";
}
}
Return "Cataclysm: Textures/Armor/Ignitium_lytra_chestplate.png";
}
}
Here, the author uses the BUFF designed by his own as a judgment condition, and pay attention!The material of the flames of the fiery set has a front suffixes!Readers can modify the test by themselves.
Then make a new material bag. The path of the path is consistent with the disaster's flames.
After exporting the module and. After the material is accurate, the game will achieve the effect:
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