Releases: BareMinimumStudios/data-attributes
Releases · BareMinimumStudios/data-attributes
2.0.3+1.20.1-fabric
Fixes 🍋
- Remove null text in UI in favor of empty string to fix compatibility with other mods
2.0.3+1.20.1-beta.1-fabric
Additions 🍎
- Added saved state for collapsed entries (session based, saved until game relaunch)
Changes 🍐
- Applied a different method to updating UI components.
- Most entries sync, but there is still some work to do, so it will stay as beta until the rest of the issues are figured out.
2.0.2+1.20.1-fabric
Fixes 🍋
- Fixed attribute functions not being able to be edited (and that were default).
2.0.1+1.20.1-fabric
Changes 🌽
- Resolved an exception that happened with the
DefaultAttributeRegistry
.
Fixes 🍋
- Resolved percentage formatting, should be more accurate now
2.0.0+1.20.1-fabric
Overview
There are breaking changes in this release. Ensure you back up your config(s) if possible. Mods relying on the beta version will have to be updated.
Welcome to the release of the new Data Attributes. This has taken a considerable amount of time to complete.
I am glad to have this opportunity to work on this project and be supported with the first ever public project I will personally release.
Additions 🍎
- No more needing to leave the UI to your config json~ you can do everything you need to do in the UI!
- Allowed easier control of the config menu, and added some new features.
- A
Reset
option to reset your targeted attribute, refreshing all its entries to start anew. - A
Remove
option to remove the targeted entry of your choice. - A
Edit
option to edit the identifier to target a different entry. - A
Add
option to include new entries. - You can also add into default entries.
- A
- Added autocomplete that will appear while editing fields. This will show you currently registered entities and attributes when editing the respective id you want.
- Press [ENTER] to quickly grab the first entry on the autocomplete.
- Attribute components in configuration now will re-render in certain scenarios, allowing for a better experience with working with multiple attributes.
- Improved logic with entering fields, commit changes by pressing [Done], and [Reload] to refresh to the latest config.
- You can now actually use the search bar to look up the specific entries you wish to find.
- Translations should be compatible in the language you choose as well as the attribute id.
- e.g., looking up
playerex:luck
, orLuck
should work.
- e.g., looking up
- Translations should be compatible in the language you choose as well as the attribute id.
- You can now enable/disable Attribute Functions.
Changes 🌽
- [BREAKING] Changed mockup of config JSON.
- Config keys such as
"functions"/"overrides"/"entity_types": { ... }
have been replaced with"entries": { ... }
. - This retains parity with the data-pack format.
- Config keys such as
- [BREAKING] Changed
Map<Identifier, Double>
toMap<Identifier, EntityTypeEntry>
forEntityTypeData
.- This also includes a
fallback
value that gets the default registered base value for the specific attribute under that entity.
- This also includes a
- [BREAKING] Changed overall structure of config related class definitions. This will affect your config file considerably.
- [BREAKING] Removed
DefaultAttributeFactory
. - [BREAKING] Changed
Map<Identifier, List<AttributeFunction>>
toMap<Identifier, Map<Identifier, AttributeFunction>>
- This existed to avoid an odd situation that does not exist anymore.
- Made some changes to certain logic internally and micro-optimizations.
- Fixed CTD issues with editing function values.
- Separated config entries from defaults using color coding & tooltips.
- [BREAKING] Integrated diminishing returns as intended.
- You must keep and/or target attribute min/max ranges between -1 & 1.
- It is how it usually worked in the original DataAttributes, as unfortunately, a solution to implement diminishing returns on all attributes was not possible (at this time).
2.0.0+1.21-alpha.1-fabric
Notes 🍋
- Certain translation keys are not functional in this update.
- The mod is relatively stable, but due to the lack of a certain feature with items, it will be in the alpha channel for now.
- Take caution if you plan on using the mod (as usual with alpha builds).
Changes 🌽
- Updated dependencies to
1.21
equivalent versions. - Changed internal networking to abide by version.
ItemFields
have changed to fit1.21
definitions.- 💖 The API now takes in
RegistryEntry
along with the targeted attribute.- This also goes for all events.
IEntityAttribute
has also been extended to get itsRegistryEntry
.
2.0.0+1.20.1-beta.9-fabric
Additions 🍎
- We use Interface Injection for all API interfaces now. Rejoice.
Changes 🌽
- Dropped
WrapMethod
in favor of anInject
that just will perform nearly the same way. Connector folks rejoice. You can play PlayerEX with this latest build now (somehow). - Edited some other mixins.
- 1.21 will take some time to catch up, for I wish to go over DataAttributes again (primarily the
DefaultAttributeFactory
, I have big plans for it!)
2.0.0+1.20.1-beta.13-fabric
Fixes 🍋
- Adjusted formatting of
Whole
formats to not go past two decimals.
2.0.0+1.20.1-beta.12-fabric
Additions 🍎
- Added a condensed way to format attribute values into the API through
getFormattedValue
.
2.0.0+1.20.1-beta.11-fabric
Changes 🌽
- Resolved an issue with entity-types/functions not applying properly if a mod/data-pack got to the entity-type id first.