
Kaya
Empower your game with this library that adds data-driven powers to entities via data packs.
Оцените первым
32
1
Список изменений
additions
- [#16] added int/float provider types related to player experience:
player/xp/progress(float)player/xp/level(int)player/xp/next(int)player/xp/score(int)
- [#23] added
callback/vibration/listenedpower type - [#25] added math-related float/vec3 provider types
normalize(vec3)cross_product(vec3)reverse(vec3)product(vec3) (aliases:mul,multiply)linear_interpolated(vec3) (aliases:lerp)sum(vec3) (aliases:add,addition)difference(vec3) (aliases:sub,diff,subtract)rotate(vec3)dot_product(float)
- [#30] added more math-related float provider types
arc/cosine(aliases:acos)arc/sine(aliases:asin)cosine(aliases:cos)sine(aliases:sin)square_root/inverse(aliases:inv_sqrt)square_root(aliases:sqrt)tangent/arc/2(aliases:atan2)tangent(aliases:tan)tangent/arc(aliases:atan)to_degreesto_radians
- added float provider types for entity pitch/yaw
entity/pitchentity/yaw
- added
from_slotitem provider type - added an optional
entityentity provider field toblocks_colliding_boxint provider type (to accommodate the removal of theBoxProvider#getCollisionContextmethod) - re-added
command_resultnumber provider type as an int provider type, which was mistakenly removed when Kaya's number providers were split into float/int providers
fixes
- fixed
modify/player/spawnpower type sometimes putting the player on the ceiling of a dimension that has one (e.g: the Nether) - fixed incorrect logic for checking if an output log is already displayed (for output logs that are only supposed to be displayed once)
- fixed
key/pressed_ticksint provider type still providing the computed result even if the pressed time of the specified key is not zero
changes
for users
- renamed
entityandblockslot provider types tofrom_entityandfrom_blockrespectively (the old paths will be used as aliases, but they may be removed in a subsequent or future version) - the
equipped_enchantment_levelint provider type can now accept a set of enchantment IDs/tags in itsenchantmentfield
for developers
- [#28] refactored how dependencies of managers are handled
- powers now have
Propertieswhich stores the power's name, description, hidden flag, and active condition. to migrate, replace theOptional<Condition>withProperties, and place it at the very end (convention) - added a new service,
KayaServices#MANAGERS, for storing all the managers instead of having individual services for each manager - added a helper method for easily enabling a rudimentary version handshake for a certain mod ID
- removed
BoxProvider#getCollisionContextmethod to reduce ambiguity in scenarios where an explicit collision context is needed
Метаданные
Канал релиза
Release
Номер версии
0.2.0+mc.1.21.5
Загрузчики
Fabric
Версии игры
1.21.5
Загрузок
13
Дата публикации
18.11.2026
