Skip to content

Releases: BareMinimumStudios/data-attributes

2.0.0-alpha.8+1.20.1-fabric

20 Jul 16:41
24ad56c
Compare
Choose a tag to compare
Pre-release

Additions 💫

  • Added the DefaultAttributeFactory, which can be used in mods to add extra defaults to the config.
    • Currently, it is limited to hard-code,
  • Added EntityAttributeSupplier to the mod again.
    • Its purpose is just to be a wrapper on lazily evaluated EntityAttribute values.

2.0.0-alpha.7+1.20.1-fabric

19 Jul 22:49
24ad56c
Compare
Choose a tag to compare
Pre-release

Additions 💫

  • Diminishing setting should be implemented. It works somewhat differently compared to the wiki, so it will require documentation which will be supplimented in the future.
    • To use Diminishing behavior, click on the Flat button to toggle between Diminishing behavior for an attribute.
      • Adjust the smoothness (previously increment value) to your liking.

2.0.0-alpha.6+1.20.1-fabric

17 Jul 21:47
24ad56c
Compare
Choose a tag to compare
Pre-release

Changes ⚙️

  • Modified api to be properly accessible on Java.

2.0.0-alpha.5+1.20.1-fabric

11 Jul 20:15
24ad56c
Compare
Choose a tag to compare
Pre-release

Changes ⚙️

  • Resolved issues with the implementation of the mod in terms of utilizing it in mods.

2.0.0-alpha.4+1.20.1-fabric

01 Jul 13:41
24ad56c
Compare
Choose a tag to compare
Pre-release
  • Added more defaults to fit the original example(s).
  • Added more code docs
  • Updated dependencies

2.0.0-alpha.3+1.20.1-fabric

01 Jul 08:19
24ad56c
Compare
Choose a tag to compare
Pre-release
  • Certain config models and classes were renamed.
  • First instance of an API created.
  • Dropped EntityAttributeSupplier, and instead offering support in the API for suppliers & attributes.
  • Upon launch, any provided config is now applied by default.
    • All the provided entries of the config will be applied upon launch of the world.
    • You can disable this behavior through the config.
  • Some cleanup of the internals was done.
  • A default template is now provided (with default/disabled config) to present each section purpose better.

2.0.0-alpha.2+1.20.1-fabric

28 Jun 21:59
24ad56c
Compare
Choose a tag to compare
Pre-release

Changelog

Alpha Notes

SMOOTHNESS DOES NOT WORK YET!

If you want to add in a new entry in general, you will need to manually edit the config.

Diminishing factor may be inaccurate.

Multiplication & Addition of attribute functions are guaranteed to work.

alpha, so we aren't formalizing this entirely yet. once beta releases this changelog will be organized better.

Additions 💫

  • Added owo-lib, which includes the following with included purpose:
    • A UI screen that is accessible with the /owo-config data_attributes command (it looks pretty nice).
    • A config that syncs its data upon being saved, and then reloaded through the /reload command.
    • Implemented new ways to apply your attribute changes to your world.
  • There is safety when setting up your configs. If you make a mistake, or if you put in an entry of an attribute that does not exist, you are able to visually see what the issue(s) are. Currently, these are:
    • Non-existing entities/attributes
    • Invalid number values (todo).
  • The addition of smoothness value (todo)
  • The addition of Fallback Minimum/Maximum values, which are extracted from the attribute of choice and automatically loaded into your config and UI once you add an entry and reload/open the config.
    • This will give you better insight on what values you should set for the specific attribute, or if you wish to go out of bounds from it.
  • Button to disable each override.
    • When an override is disabled, everything about the override falls back to vanilla/other-modded behavior upon reload.
  • Tooltip(s) for discovered attributes.
    • When an attribute is discovered and sub-sequentially hovered (hah! that rhymes), a tooltip will appear showing the currently set minimum & maximum values for the attribute, to assist in setting up functions or entity-type values.

Removals 🚫

  • Erasure of the existence of a mock attribute that gets created if there is none statically registered.
    • This means that any attribute that you override MUST already be in the attribute registry (this may be subject to change in the future, with a much safer solution).
  • Entire removal of the data-pack system in favor of a set of configuration files. If you are looking for your changes to replicate to the world and others, use the /reload command after you save your config.
  • Removal of odd behavior of decreasing entity health based on the previous value if maximum health was changed. Instead, it is clamped to the maximum health.
    • If you wish for this behavior again, you can still implement it using the EntityAttributeModifiedEvents#MODIFIED event.

Changes

  • Implemented fabric-language-kotlin, a required dependency, as DataAttributes is now built with Kotlin.
  • Changed networking behavior
  • Changed entire mixin internals and mod compatibility
    • SimpleRegistryMixin is no more! We have broken our chains from fundamentally re-registering the ATTRIBUTE registry (there is no need to as we do not create our own attributes dynamically anymore).
  • Changed a huge amount of internals with the mod itself, allowing it to be more compatible with other mods.
    • Falls back to vanilla behavior on most, if not all mixins depending on circumstances, such as an override being disabled, or modifiers depending on the case.

2.0.0-alpha.10+1.20.1-fabric

20 Jul 17:37
24ad56c
Compare
Choose a tag to compare
Pre-release

Changes ⚙️

  • Applied small fix to DefaultAttributeFactory.