Started by
McConqueryigit
on
Topic category: Help with Minecraft modding (Java Edition)
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:))
I know it but i don’t know much about modding can u tell me what procedures should i use?
so basically you want if player has armor on, give items, when he takes off, remove items?
İ 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.
then make it if player doesn't have armor remove those items from inv, and if it has it it adds it
Ok i will try it thx for yor help.
It did work thank you so much!