Unofficial site, not affiliated with modrinth.com.What is this?
Моды/Data Attributes
Data Attributes

Data Attributes

Overhauls the entity attribute system and exposes it with datapacks.

310.5K
26
  • 1.4.6+1.19.2

    release11 июня 2023 г.

    Changelog

    -Reverted back to Fabric Loader 0.14.10 as config dependencies built using newer versions seem to not work in the dev environment.

    This change does not impact end-users (who can continue to use this on more recent loader releases), only developers.

  • 1.4.5+1.19.2

    release3 июня 2023 г.

    Changelog

    This is primarily a bug-fixing and optimisation update.

    *Changed the way /reload works to refresh attributes:

    • No longer saves the updateFlag to the level's nbt data.
    • No longer injects the updateFlag into vanilla packets.
    • Instead, we only use the updateFlag in runtime - not saving it at all, anywhere.

    *Fixed #80: attribute tracking is handled differently now.

    *Likely fixed an incompatibility between Data Attributes and ReplayMod: we no longer mess around with world properties at all.

    *May have fixed long-standing issues 24 and 10: almost all networking has been removed - now we only send/receive two custom packets in the whole mod: on game join and when /reload is executed.

    *Various performance improvements.

  • 1.4.4+1.19.2

    release30 апреля 2023 г.

    Changelog

    +Added hierarchy entity types that can be used to apply attributes to all entities that are an instance of an entity class. Currently supported types are as follows:

    IdentifierClass Type
    dataattributes:living_entityLivingEntity
    dataattributes:mob_entityMobEntity
    dataattributes:path_aware_entityPathAwareEntity
    dataattributes:hostile_entityHostileEntity
    dataattributes:passive_entityPassiveEntity
    dataattributes:animal_entityAnimalEntity

    These have a hierarchy of:

    LivingEntity
      ┗ MobEntity
          ┗ PathAwareEntity
              ┣ HostileEntity
              ┗ PassiveEntity
                  ┗ AnimalEntity
    

    This feature is useful for when you want to modify the attributes of many different mobs, but do not know every mob's EntityType identifier.

  • 1.4.3+1.19.2

    release8 апреля 2023 г.

    Changelog

    +Fixed minor bug that could sometimes result in max health percentages being incorrectly calculated if the Player spam died.

  • 1.4.2

    release5 февраля 2023 г.

    Fixed client attribute sync issue present in previous release.

  • 1.3.2

    release5 февраля 2023 г.

    Fixed client attribute sync issue present in previous release.

  • 1.4.1

    release28 января 2023 г.

    *Changed how datapack is synced S2C:

    Before, sent raw NBT through network. Now:

    1. converts NBT to SNBT;
    2. uses Java's Deflater to compress the SNBT;
    3. converts the compressed SNBT to byte array;
    4. sends the byte array over network;
    5. Reverses this using java's Inflater on the client.

    This reduces the raw NBT network packet from aprox. 4KB to ~0.9KB. This was done in attempt to fix packet size issue with Velocity plugin, but also in general the player connection packet has the potential to get really massive really quickly depending on the datapack.

    -Removed version checking between client and server. This was done in an attempt to make this compatible with Velocity plugin, which tends to get upset if we use regular Minecraft's connection packets.

    *Changed MutableIntFlag to be implemented further up in the hierarchy (MutableWorldProperties). Added relevant casting checks. This is an attempt to fix bugs caused when other mods want to make 'dummy world properties' that don't respect the world properties hierarchy nor the client/server divide.

    +Incremented version.

  • 1.3.1

    release28 января 2023 г.

    *Changed how datapack is synced S2C:

    Before, sent raw NBT through network. Now:

    1. converts NBT to SNBT;
    2. uses Java's Deflater to compress the SNBT;
    3. converts the compressed SNBT to byte array;
    4. sends the byte array over network;
    5. Reverses this using java's Inflater on the client.

    This reduces the raw NBT network packet from aprox. 4KB to ~0.9KB. This was done in attempt to fix packet size issue with Velocity plugin, but also in general the player connection packet has the potential to get really massive really quickly depending on the datapack.

    -Removed version checking between client and server. This was done in an attempt to make this compatible with Velocity plugin, which tends to get upset if we use regular Minecraft's connection packets.

    *Changed MutableIntFlag to be implemented further up in the hierarchy (MutableWorldProperties). Added relevant casting checks. This is an attempt to fix bugs caused when other mods want to make 'dummy world properties' that don't respect the world properties hierarchy nor the client/server divide.

    +Incremented version.

  • 1.4.0

    release2 января 2023 г.

    +Added multiplier based attribute functions.

    Why: among other things such as being a requested enhancement, flat Attack Speed buffs are too OP and really need a multiplier type mechanic.

    How: when defining attribute functions in JSON, instead of the value being a number/double, it is an object containing aforementioned number as well as a FunctionBehaviour reference. This lets the game know how the value should be used.

    This is a breaking change, hence the buff in middle version number. All mods/datapacks will need to adjust their data JSON accordingly.

  • 1.3.0

    release2 января 2023 г.

    +Added multiplier based attribute functions.

    Why: among other things such as being a requested enhancement, flat Attack Speed buffs are too OP and really need a multiplier type mechanic.

    How: when defining attribute functions in JSON, instead of the value being a number/double, it is an object containing aforementioned number as well as a FunctionBehaviour reference. This lets the game know how the value should be used.

    This is a breaking change, hence the buff in middle version number. All mods/datapacks will need to adjust their data JSON accordingly.

  • 1.2.8

    release4 декабря 2022 г.

    No changelog was specified.

  • 1.1.13

    release4 декабря 2022 г.

    No changelog was specified.

  • 1.2.7

    release28 августа 2022 г.

    No changelog was specified.

  • 1.2.6

    release28 августа 2022 г.

    No changelog was specified.

  • 1.1.12

    release28 августа 2022 г.

    No changelog was specified.

  • 1.2.5

    release12 августа 2022 г.

    No changelog was specified.

  • 1.2.4

    release6 августа 2022 г.

    No changelog was specified.

  • 1.2.3

    release5 августа 2022 г.

    No changelog was specified.

  • 1.1.11

    release5 августа 2022 г.

    No changelog was specified.

  • 1.2.2

    release3 августа 2022 г.

    No changelog was specified.

1

Совместимость

Minecraft: Java Edition

Платформы

Поддерживаемые окружения

Клиент и сервер

Сведения

Лицензия:
Опубликован:3 года назад
Обновлён:3 года назад
ID проекта:
Главная