Custom Armor wich can turn Invisible

Started by Emperor_Jp1 on

Topic category: Help with MCreator software

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom Armor wich can turn Invisible

How do I make an Armor that can be transparant when you press a keybind. I am making the armor with geckolib.

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could do this by adding…
Thu, 12/26/2024 - 21:09

You could do this by adding a state to the armor and having it change when the keybind is pressed. Then unlock the code for it and make it so when the armor is of that state to display an empty texture and when the state is false to show the normal texture or model.

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do you make a state? And…
Mon, 12/30/2024 - 11:56

How do you make a state? And what do you mean by unlocking the code?

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry about that. I thought…
Mon, 12/30/2024 - 20:51

Sorry about that. I thought you could add states to armor like you can items and blocks but it doesn't work. I found a way to turn the player invisible but not the armor. I have 2 workarounds:

  • Make the armor get stored and deleted and increase the player attributes. Then just set back the item when you want it back and reset the player attributes.
  • Or you can create 2 armor sets. One normal and one invisible. You could track the data of the normal one and the invisible one and then just have one replace the other when called. This would be the better option in my opinion.
Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, thank you!
Fri, 01/03/2025 - 11:53

Ok, thank you!