Started by
TheGoldenDragon
on
Topic category: Help with Minecraft modding (Java Edition)
So i am trying to make iron man armor for my mod. Is there a way I can make it so the flight and other abilities stop working when it reaches 1 Dubai like elytra. Also, is it possible to make a machine that recharges it. Another thing is that is it possible to make an armor that you cant put on, but can be put on you with a special block. One more thing, I know I am asking alot, but another part of my mod is wolves claws. Is it possible to make it so when you have them equip in both hands, the both swing on left click, preferably taking turns. Like on first leftclick, it will swing in the right hand, but on the second click, in the left. Thanks
Im so sorry to tell you but nobody gives a damn about your post :/
Also im sorry i cant help you im not good at coding.
Tou don't need to be rude. People may see it and have answers.
I can help you,TheGoldenDragon
- There is no way to check for item durability at the moment, I think
- It is possible to make a block that recharges your armor. First, you need a custom block model. After that, you need to create a procedure that removes the old, damaged armor then add a new set of armor into provided entity inventory when they right clicked the block.
- If you want to make a armor that you can't wear, make a item with armor texture instead of armor. If you want a special block to equip your armor, you need to make a custom block model and create a set of armor that look the same as the armor that you can't equip then create a procedure, on block right clicked or when entity walk on the block, execute command in the name of provided entity then fill in the blank with /replaceitem command in minecraft, take a look my comments in this forum https://mcreator.net/comment/100387
- If you wanted to fight with two hands with wolves claws, I'd suggest you to download better combat mod, which let you fight with two hands, here is the link to the mod page: https://www.curseforge.com/minecraft/mc-mods/better-combat-rebirth
Hope I answered all of your questions and have a good day! :)
Oh and if you have anymore questions, feel free to ask! :)
you can create an item that has no creative tab and whenever your durability is 1 the item would be removed and the broken one would get added(if there is no way to do that,im so sorry i havent tested it)
ngl i think someone cared about this guy's post