Item that appears when you have the armor.

Started by McConqueryigit on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Item that appears when you have the armor.

I'm making a mecha suit mod and when  you wear this mecha suit it gives you some mecha items however items disappear when you suit off but if you drop the items on the ground you can take them later and use them without a mecha suit.Thats why i tried to make the items check if you have the armor on when you use them but it didnt work can you show me how can i do this.

(sorry for my bad English,this is maybe easy but i am not a master:))

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It can be done with…
Wed, 11/10/2021 - 17:46
It can be done with procedures
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know it but i don’t know…
Wed, 11/10/2021 - 17:57

I know it but i don’t know much about modding can u tell me what procedures should i use?

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
so basically you want if…
Wed, 11/10/2021 - 18:15

so basically you want if player has armor on, give items, when he takes off, remove items?

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
İ did that but the issue is…
Wed, 11/10/2021 - 18:25

İ did that but the issue is if player drops the item on the ground and takes them later they can use their abilities without an armor and i dont want that to happen.

 

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
then make it if player doesn…
Wed, 11/10/2021 - 18:30

then make it if player doesn't have armor remove those items from inv, and if it has it it adds it

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok i will try it thx for yor…
Thu, 11/11/2021 - 06:50

Ok i will try it thx for yor help.

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It did work thank you so…
Thu, 11/11/2021 - 06:59

It did work thank you so much!