Armor as skin

Started by Demon_Cry on Mon, 11/09/2020 - 10:24

Topic category: Help with MCreator software

Last seen on 14:03, 4. Dec 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Armor as skin
Mon, 11/09/2020 - 10:24

Who knows how to make armor that will fall on the player as a skin. Can something in the code change?

Last seen on 21:29, 1. Jul 2021
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I'm not exactly sure what…
Fri, 11/13/2020 - 20:24

I'm not exactly sure what you mean. Do you want it so that when a player picks up a specific piece of armor it gets automatically equipped? If that is what you want to do, here's a procedure that does it:

https://drive.google.com/file/d/1Up5BQ73fnxUXHzI2RtdxwkMuNn3FQdkf/view?usp=sharing

The text in the custom code block is:

pickedUp = ((EntityItemPickupEvent) dependencies.get("event")).getItem().getItem();