promotional bannermobile promotional banner

Kaya

Empower your game with this library that adds data-driven powers to entities via data packs.
Back to Files

1.21.5: Kaya 0.2.1

File namekaya-0.2.1-mc.1.21.5.jar
Uploader
eggohitoeggohito
Uploaded
Nov 28, 2026
Downloads
4
Size
2.2 MB
Mod Loaders
Fabric
File ID
9862503
Type
R
Release
Supported game versions
  • 1.21.5

Curse Maven Snippet

Fabric

modImplementation "curse.maven:kaya-1768701:9862503"

Learn more about Curse Maven

What's new

fixes

  • fixed key/pressed_ticks int provider type not checking if its pressed time value is greater than 0
  • fixed potential issue with [cached] blocks collected from a shape having the same positions
  • fixed players sometimes being kicked when command storages are synced
  • fixed handling of ignored keys when parsing sub-powers
  • fixed modify/falling power type resetting the entity's fall distance too early/eagerly
  • fixed players sometimes being kicked when kaya-related reloadable content is synced on reload/the player joins the server
  • fixed power recipes not being properly checked if craftable
  • fixed modify/player/spawn power type not properly checking whether the dimension exists when validated

changes

for users

  • searching algorithm for modify/player/spawn power type has been changed to use the OCEAN_FLOOR heightmap type instead of MOTION_BLOCKING
  • the callback/power/tick power type now immediately invokes its rising/falling actions if its interval is 1 instead of deferring it to the subsequent tick

for developers

  • changed and simplified creation of managers and its keys;
    • Manager$Key sub-class has been deprecated (and marked for removal in the next minor version). use Manager#createKey to create a key for a manager
    • added AbstractManagers with an inner immutable map
  • moved RotateVec3Provider to its proper package, from io.github.eggohito.kaya.provider.custom.number.float to io.github.eggohito.kaya.provider.custom.vec3
  • TypeOrTagPredicate class is now deprecated (and marked for removal in the next minor version). use EitherHolder instead
  • EntityRenderStates no longer store a reference to an entity. this changes the following:
    • EntityRenderCache is now deprecated (and marked for removal in the next minor version) and non-functional. use the classes mentioned below
    • since Fabric's FabricRenderState and RenderStateDataKey API for putting arbitrary data on render states is currently not available in 1.21.5, you can use KayaSharedStateData and SharedStateDataKey (currently only available for EntityRenderStates)
  • changed ParsedArgument class where:
    • the result is now parsed lazily
    • using CommandArgumentParser (or Grammar) is now supported via ParsedArgument$Parser
    • ParsedArgument#argument is now deprecated (and marked for removal in the next minor version). you should use ParsedArgument#result or ParsedArgument#optionalResult to handle the lazily parsed result safely
  • ReloadableServerResourcesEvents is now deprecated (and marked for removal in the next minor version) in favor of the new ServerResourceLoadingEvents, which consists of the following events:
    • RELOAD, which is called after tags and recipes are sent to the player
    • FINISH, which is called after the contents of tags are bound (via ReloadableServerResources#updateStaticRegistryTags)