-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request]better armor-value lock. #103
Comments
Are you talking about the ability to lock armor or the integration that CompatSkills (while also done by us this is not the correct issue tracker for): https://docs.blamejared.com/1.12/en/#Mods/CompatSkills/Supports/Minecraft/Armor_Point_Locking/ Given the latter does it by the value the armor gives so a chestplate would have a higher requirement if you set a higher value for it. |
(Transfered this to CompatSkills issue tracker) I will leave this open as a feature request for a way to lock by defense level. But the armor value locking works as intended, in fact I made the armor lock value with the exact purpose of using it with constructs armory, so as to dynamically lock things based on their combined armor values. |
I don't know if it is stored in NBT as back when I used constructs armory I don't believe it had a "defense" level, but if it is stored somewhere in the NBT of the item, you can use a partial NBT lock to match specific "defense" levels. |
defense is stored in NBT so ill try to get that to work, thanks. |
seems it works but it has to be very specific. Any way to make it so that its greater then or equal to number for NBT tags? |
Nope, best you could do is if they are all whole numbers just loop over a bunch of values adding them for each. |
well dont know if they are always integers but i think that there is a finite number of possibilities so ill probably just make a function to hit them all. Thanks for all the help. |
the armor-value lock feature does not take into account that different pieces of the same set have different values. i.e diamond armor boots and diamond armor chest would have very different requirements because chest gives more armor. just want to have a feature that takes that into consideration due to the randomness of armor making with TiC armor.
The text was updated successfully, but these errors were encountered: