Change Log (Armor Set Bonuses) - SpaceCat97/SpaceCats-Wikis GitHub Wiki
Current Mod Version: | 13.0 |
---|---|
Current Minecraft Version(s): | 1.20+ |
LTS Minecraft Version(s): | 1.16.5, 1.18.2, 1.19.2 |
Added "inverted" option to conditions. If set to true, the bonus will apply when the condition is NOT met
Added "indimension" condition. Works the same as "inbiome" except it is for dimensions
Improved tooltip display - if description field is declared but empty, it will not add anything to the tooltip
Fixed moon phase condition check
Fixed moon phase condition tooltip text
Fixed time condition check
Reworked internal code for better backwards-compatibility
Reworked translation code to make it more efficient
Backported V13 to LTS versions. Please note that the inBiome condition is not available in 1.16.5
Fixed conditions not appearing on tooltips (despite applying correctly)
Fixed custom descriptions hiding the conditions tooltip text
Added "tooltipDescription" property for conditions, allows you to specifically override the conditions text with your own string/translation key
Added new conditions: Time Range, Moon Phase
Added new condition: In specific biome
Added check for enchantments
Changed all tooltips to use translation files. You can now translate!
- Bonus descriptions and custom tooltips also support translation keys.
- Take a look at this feature, even if you use english it allows you to change some of the tooltip text
Fixed armor set detection
Fixed amount of loaded/error sets reporting
Fabric only - changed how tooltips are added, should improve mod compatibility
Improved error reporting - config issues now also appear ingame
Fixed armor set detection.
Fixed amount of loaded/error sets reporting.
Fixed mainHand validation logic.
Added another message to log detailing number of armor sets loaded and how many failed.
Added "performanceMode" boolean option to ArmorSet config (default = true). Set to true to make the set only apply to players (and therefore reduce entity processing).
Added a limiter for amount of entity updates, armor sets will no longer apply every tick, instead they will apply every 10 ticks (twice per second).
Stopped ASB processing Animals, because that is a huge waste of time.
Reduced the amount of class casting the mod does, should have a huge impact to performance.In test cases, we've seen an improvement to this mod's performance of more than 75%!
Backported to 1.16.5 Updated to 1.20.1 and 1.20.2.
Reworked events so that immunities are blocked before being applied to the character.
Added "onlyImmuneToNewEffects" to the bonus object. This is used for immunities. If set to true, the armor will only stop new effects applying to the character (meaning you can't remove effects by swapping armor). This is done on a per-bonus basis.
Added "mustBeEmpty" option to the set piece object (body armors and hand slots). Set to true to require that slot to be empty for the armor set to be valid.Fixed conditions not working properly.
Fixed fabric modded item compatibility issues.
Fixed config validation.
Fixed leftover immunity issues.
Fixed leftover attribute issues.
Fixed conditions not applying.Cleanup.
Backported to 1.18.2
Added new validation check: If partialBonusRequiredAmount is greater than 0 and no partial bonuses are set, it will throw an error.
Second attempt to fix concurrentmodification issue with immunities.
Fixed attribute crash and null pointers.
Fixed mainhand, offhand, and additional slot sets not working properly.
Fixed immunities crash.
Improved attack and interaction.
Cleanup + typo fixes.
Sorted a few null pointers and crashes
Fixed item detection for modded items
Changed logging slightly to log more than one issue when it comes to bonuses.
Changed how tooltips work to accomodate more complex bonuses (you must now use shift+control).Rewrote areas of the mod to allow for better management between Fabric and Forge.
Renamed "curiosSetPiece" to "additionalSetPieces" - YOU WILL NEED TO UPDATE YOUR CONFIGS FOR THIS.(Forge only) Added support for any livingentity to have bonuses applied (mobs now get bonuses too). This is only supported on forge.
(Fabric only) added support for the trinkets mod.Added conditions - bonuses will activate based on specified conditions. They will also display in the tooltip. Please see wiki for more info.
Reworked armor set netcode to reduce how much is sent in one packet.
Added curios support due to popular demand.
- To use, add a new field named "curios". This should be an array of objects.
- Each entry in the array is the same as the setpiece, it also has mixAndMatch support, just like the other setpieces
- There is no need to specify what curios slot to look in. The mod will search all available slots for your specified item.
Added "immunity" interactionType - you can now make your armor sets prevent potion effects from applying. Please note that this will remove any level of effect (for example, 'minecraft:poison' will remove 'Poison I' and 'Poison II'.
Added option to hide an effect from tooltips (if you want to apply a secret effect). This is a boolean that goes inside the bonus object.
Added config option "hideGeneratedTooltip" - setting this to true will remove all tooltips generated by this mod (for the armor set). This is a boolean that goes in the root level of the JSON. Useful if you want to make your own tooltips.
Added config option "customTooltips" - an array of strings you can add to the tooltips (works if "hideGeneratedTooltip" is true OR false - It will always add these tooltips). Every new entry in this array is a new line for the tooltip.Improved tooltip descriptions slightly.
Changed default armor generator to do attribute for health boost on diamond set (instead of effect).
1.16 - Fixed duplicate effects not applying - this was acheived by changing how effects are removed (they will now remove after their time has expired).
Both:
Changed the limitations for 'partialBonusRequiredAmount' to 1-5 (inclusive).
Added a check to make sure that the 'partialBonusRequiredAmount' must be less than the total armor pieces (basically another error message to help you work out what's gone wrong).
Fixed tooltips so they now synchronise per-level (client-server communication).
1.18 - Fixed main and offhand not detecting.
Both:
Added 'interactionType' field - you can now decide how a bonus is applied to the player/another entity. See the wiki for more info (default = "self").
Added 'interactionDuration' field. This is intended to be used for potion effects applied to other entities.
Added detection for different attribute modification types.
- To use this add "attributeOperation" field to the Bonus object.
- Possible values:
- 0 = "ADDITION"
- 1 = "MULTIPLY_BASE"
- 2 = "MULTIPLY_TOTAL"
- If not declared, this will default to addition.
Fixed server crashes caused by clientside value in event (oops...)
Increased time between tooltip changes.
Fixed potion effects applying weirdly causing erratic behaviour.
Fixed serverside crashes
Fixed serverside crashes
Fixed issue with partial armor sets.
Fixed full armor sets with less than 4 pieces not working.
Fixed attributes not getting checked.
Reworked a load of verification logic so it is less restrictive.
Added support for mainHand and offHand SetPieces. These are added the same way as the rest.
Added line break after set descriptions.
Fixed typo with default leather armorset description.
Fixed modded items check - compatibility with mods should now work.
Removed alpha test message from console.
Bonus value can now be a decimal
First release!