All Mods Resource Packs Data Packs Shaders Modpacks Plugins
AnimationJS

AnimationJS

by Liopyu • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Summary:

The AnimationJS mod is an addon for KubeJS that allows scripters to dynamically animate Players utilizing the playerAnimator mod.

Features:

  • Various Rendering Capabilities via the AnimationJS.playerRenderer() client event such as rendering items on the player model
  • Usage: 

    For detailed documentation on how to add an animation controller or trigger player animations, visit the AnimationJS Wiki page!

    Dependencies:

    Community

    Join the official KubeJS Discord community to connect with other users, share your creations, and get help with any questions or issues you encounter while using AnimationJS. Alternatively, you can click the Discord icon below:

    discord

    How to Install AnimationJS (Mod)

    AnimationJS by Liopyu is verified for Forge, Neoforge across Minecraft versions 1.19.2, 1.20.1 (latest release: 1.20.1-0.1.3, file size: 61 KB). Follow the steps below to install it safely from ModCraft.tv:

    1. Click the Download button above and select your Minecraft version (1.19.2, 1.20.1) and platform (Forge, Neoforge).
    2. Make sure you have the compatible loader or environment installed for Forge, Neoforge.
    3. Move the downloaded AnimationJS file into your Minecraft .minecraft/mods folder and launch the game.

    All Versions

    + Add Version
    Name Game version Platforms Published Downloads Actions
    1.20.1
    Forge Neoforge
    6mo ago 1
    1.20.1
    Forge Neoforge
    8mo ago 1
    1.20.1
    Forge Neoforge
    8mo ago 1
    1.20.1
    Forge Neoforge
    last yr. 1
    1.19.2
    Forge
    last yr. 1
    1.20.1
    Forge Neoforge
    last yr. 1
    1.19.2
    Forge
    last yr. 1
    1.20.1
    Forge Neoforge
    last yr. 1
    1.19.2
    Forge
    last yr. 1
    1.20.1
    Forge Neoforge
    last yr. 1
    1.19.2
    Forge
    last yr. 1
    1.20.1
    Forge Neoforge
    last yr. 1
    1.19.2
    Forge
    last yr. 1
    1.20.1
    Forge Neoforge
    last yr. 1
    1.19.2
    Forge
    last yr. 1
    1.20.1
    Forge Neoforge
    last yr. 1
    1.19.2
    Forge
    last yr. 1
    1.20.1
    Forge Neoforge
    last yr. 1
    1.19.2
    Forge
    last yr. 1
    1.20.1
    Forge Neoforge
    last yr. 1
    1.19.2
    Forge
    last yr. 1
    1.20.1
    Forge Neoforge
    last yr. 1
    1.19.2
    Forge
    last yr. 1
    • Fixed UniversalController stashing old events in a map returning old data
    • Fixed an access widening error
    Hotfix:
    • Added armRenderer event where arm/hand posestacks are mutable
    • AnimationJS.handRenderer event now passes in the interaction hand and has separate Posestacks per hand rendered.
    • Added handRender Client Event
    • Added handRender Client Event
    • Added AnimationJS.playerModel() event
    • Moved model part getters to PlayerModelEvent where they are now modifiable through event.getPlayerModel()
    • Removed event.cancelDefaultRenderer() method from playerRenderer event in favor of event.cancel() instead
    • Added AnimationJS.playerModel() event
    • Moved model part getters to PlayerModelEvent where they are now modifiable through event.getPlayerModel()
    • Removed event.cancelDefaultRenderer() method from playerRenderer event in favor of event.cancel() instead

    #### Added
    • Methods to the playerRenderer event:
    • getModelParts
    • getBody
    • getHead
    • getRightArm
    • getLeftArm
    • getRightLeg
    • getLeftLeg
    • getHat

    #### Fixed
    • Player tick mixin crashing when obfuscated.
    #### Added
    • Methods to the playerRenderer event:
    • getModelParts
    • getBody
    • getHead
    • getRightArm
    • getLeftArm
    • getRightLeg
    • getLeftLeg
    • getHat

    #### Fixed
    • Player tick mixin crashing when obfuscated.
    ### New Features:
    • Added getRenderContext() method to playerRenderer event. This method provides scripters with access to a PlayerRenderContext, allowing them to customize item rendering on the player's body with configurable rotation and position.
    • Added cancelDefaultRender() method to playerRenderer event. This method allows scripters to cancel the default rendering behavior during the playerRenderer event.
    • Added renderBodyItem() method to playerRenderer event. This method enables scripters to render item stacks on the player's body, with options for configuring rotation and position.

    ### Improvements:
    • Improved various probejs typings to enhance code readability and maintainability.

    ### Changes:
    • We now use LioLib in 1.20.1 as an optional dependency for geckolib player animations to avoid any Geckolib cache conflicts with other mods

    ### New Features:
    • Added getRenderContext() method to playerRenderer event. This method provides scripters with access to a PlayerRenderContext, allowing them to customize item rendering on the player's body with configurable rotation and position.
    • Added cancelDefaultRender() method to playerRenderer event. This method allows scripters to cancel the default rendering behavior during the playerRenderer event.
    • Added renderBodyItem() method to playerRenderer event. This method enables scripters to render item stacks on the player's body, with options for configuring rotation and position.

    ### Improvements:
    • Improved various probejs typings to enhance code readability and maintainability.

    • Fixed UniversalController not being registered if added after player login

    • Added client renderer method to allow a hook into the player render method with AnimationJS.playerRenderer() client scripts event
    • Fixed UniversalController not being registered if added after player login

    • Added client renderer method to allow a hook into the player render method with AnimationJS.playerRenderer() client scripts event
    ### Added
    • stopAnimation method to server player.
    • New startAnimation/triggerAnimation methods allowing customization of player part visibility and animation modifiers.
    • "animationjs:smith" example animation.

    ### Fixed
    • Various ProbeJS typings.
    ### Added
    • stopAnimation method to server player.
    • New startAnimation/triggerAnimation methods allowing customization of player part visibility and animation modifiers.
    • "animationjs:smith" example animation.

    ### Fixed
    • Various ProbeJS typings.
    AnimationJS Icon
    Download AnimationJS
    Select game version
    Select platform