Caution!
・We use a translator. We do our best to check it, but there may be mistakes or inappropriate expressions. If you don't mind, feel free to ask questions in the comment section. We will answer to the best of our ability.
・I'm new to making mods and I don't have much knowledge of Java. I'm doing some playtesting, but we may not be doing enough.
Operating environment
Minecraft Version 1.20.1
Mod Loader Forge
Item Ability
Name:Armor Plate
If you are wearing a torso equipment, you can attach a plate to the torso equipment by holding the item in your hand and right-clicking on it.
If successful, "Plated" will be written in front of the name of the current equipment.
When you attach a plate, it cuts down 20% of enemy attacks. This only activates when the damage source is an entity, so it has no effect on poisons and the like.
If you take damage, the number of uses will decrease, and you can restore the number of uses by right-clicking while holding the iron ingot.
When wearing equipment with a plate, you can see the number of times you have left using it by right-clicking while sneaking.
The plate can be used up to 5 levels, each of which can be used at level ×4, and the effect remains the same.
RECIPE!※For other items, we recommend referring to recipe mods such as JEI!
Name:Plate Destructor
With this item, you can instantly break plates and earn iron ingots depending on the level of the plates. Note that if you have given your armor a name, it will be the default name. Consistently, this phenomenon occurs in any situation where the plate comes off.
Name:Plate Removal Kit
This item can be used when the number of times the plate is used is maximum.
When used, the plate can be retrieved.
I hope you enjoy this mod!