Jump to content

honn3x

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by honn3x

  1. I already did a "ModItemProperties" class But I need to know how to change texture and change magicpowerlevel... Basically, I'm using a super improvised system at the moment, so what I want is that: When the player's thirst reaches the maximum it returns to "0" and adds 1 in "magicpowerlevel" of the armor, and every 1 level, the texture of the armor changes... P.s. I Already did the system to whente player's thirst reachs the maximum it return to "0", I only need to know how to add 1 to "magicpowerlevel" I believe that the main json file should look something like:
  2. I would like to add a "Capability" to my armor and that at each "level" it changes the texture of the armor In practice: I created a custom armor, I wanted it to have a Capability of "Magic Power" and "Magic Resistance" And I wanted its texture to change as this capability changed, something like: if (armor.MagicPower == 1) { show "armor.textureMagicPower1" } if (armor.MagicPower == 2) { show "armor.textureMagicPower2" } if (armor.MagicPower == 2 && armor.MagicResistance == 1) { show "armor.textureMagicPower2MagicResistance1" } How can I do this?
  3. is it possible to create an item with several different texture variations that change as the "NBT" tag changes as well? (e.g. I'm currently making a "bandage" system, where if the player bleeds, the bandage should change the texture to another bandage with more blood, eg: change "bandage_layer_1" to "bandage2_layer_1" when NBT "bloodCount:1" -> NBT "bloodCount:2" {I don't know exactly if NBT would be the ideal use to "count" the amount of blood, if there is another better way please let me know... (I want this count to be per item)}
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.