Releases: BareMinimumStudios/data-attributes
Releases · BareMinimumStudios/data-attributes
2.0.0+1.20.1-beta.10-do-not-use-fabric
Additions 🍎
- Implemented a feature that reads data-packs and applies attribute modifications to the world based on order.
- More documentation on this feature will come as the mod stabilizes.
- For now, if you want to be aware of how to format your data-pack(s), look towards the source code of the next builds of PlayerEX/WizardEX.
Changes 🌽
- Changed how configs and modded entries are applied.
- Your config will appear sparse on startup, but when you go to a world (in an integrated server), it will show the extra modifications provided by loaded packs and mods.
- You can overwrite these, and they will appear in your actual config. Your config will overwrite any data-pack or modded pack.
- The UI will be overhauled to better assist in knowing what is supplied by datapacks/mods, but that will be in the later future.
- Deprecated the
DefaultAttributeRegistry
to keep previous versions functional, but it will be removed before release. - Being able to override specific mods and being able to customize your data-packs will come in the future. For now, if you want to override something, use your config as it is the main source of truth.
2.0.0-beta.8+1.20.1-fabric
Changes ⚙️
- Now using
WrapMethod
on computation of modifier(s) to avoid unneeded recalculation.
2.0.0-beta.7+1.20.1-fabric
Additions 💫
Implemented diminishing formula.
2.0.0-beta.6+1.20.1-fabric
Additions 💫
API
- Added
getManager
which decides the proper AttributeConfigManager via a world instance. - Added
clientManager
&serverManager
respectively, which are self-explanatory.
Changes ⚙️
- Cleaned up codebase, adjusting certain logic.
- Updated Endec to match with wispforest's uploaded versions, and resolved issues with reading/writing Endec's that could cause a fatal exception.
- Updated
EntityAttributeSupplier
(again).
Removals
- Removed
ConfigDefaults
. - Removed the ability to access config through functions in the API.
- Removed an attribute modified event that changed health. This should be optionally handled in a workspace that implements the API instead.
2.0.0-beta.5+1.20.1-fabric
Additions 💫
API
- Added
getManager
which decides the proper AttributeConfigManager via a world instance. - Added
clientManager
&serverManager
respectively, which are self-explanatory.
Changes ⚙️
- Cleaned up codebase, adjusting certain logic.
- Updated Endec to match with wispforest's uploaded versions, and resolved issues with reading/writing Endec's that could cause a fatal exception.
- Updated
EntityAttributeSupplier
(again).
Removals
- Removed
ConfigDefaults
. - Removed the ability to access config through functions in the API.
- Removed an attribute modified event that changed health. This should be optionally handled in a workspace that implements the API instead.
2.0.0-beta.4+1.20.1-fabric
Additions 💫
- Added in the API a way to fetch functions, entity-types, and overrides from an
EntityAttribute
.
Changes ⚙️
- Resolved synchronization issues with the config manager, which caused issues when running DataAttributes on a server instance and connecting from a client.
2.0.0-beta.3+1.20.1-fabric
Changes ⚙️
- Addressed issue with the
DefaultAttributeFactory
continuing to attach extra config entries, causing unneeded duplications.
2.0.0-beta.2+1.20.1-fabric
Changes ⚙️
- Addressed issue with attribute initialization on
LivingEntity
instances.
2.0.0-beta.1+1.20.1-fabric
Changes ⚙️
- Adjusting the mod to a beta release cycle, updates will be less frequent.
- It is getting to the point where it is functional enough to use without corruption.
- Fixed possible
NaN
calculation when smoothness was0
. This is resolved by clamping the smoothness during calculation. - The only thing that may be incorrect is the diminishing scale, which will be addressed. Otherwise, documentation and cleanup will begin, and this mod will release with PlayerEX come time.
2.0.0-alpha.9+1.20.1-fabric
Changes ⚙️
- Applied small fix to
DefaultAttributeFactory
.