Language

Nylon

Nylon

Modrinth

Library for creating serverside content using Animated-Java for custom models and animations.

2.8k downloads 36 followers updated 1d ago
latest v0.13.6 Modrinth
Fabric 1.20.2 – 26.2 Utility

Nylon

It's a library for creating serverside content using custom models and animations, without requiring client mods.\

Nylon is a bridge between models created with Animated Java and serverside
content (like entities and blocks) written using Polymer, allowing you to combine
fancy custom models, textures and animations made in Blockbench with completely custom
block / mob logic.

Setup

repositories {
    maven { url "https://api.modrinth.com/maven" }
}

dependencies {
    modImplementation "maven.modrinth:nylon:[TAG]"
}

Features

  • Smooth and accurate animations, using mounted display entities with configurable rotation interpolation instead of
    armor stands to ensure smooth rotations and that all the model pieces positions are in sync.

  • Minimal impact on server performance. Nylon is highly optimized and models are updated asynchronously. Nylon also
    makes full use of vanilla's packet flush suspending to reduce network load and ping spikes.

  • Support for most Animated Java features:

    • Variants: Ability to instantly switch between different models and textures.
    • Locators: Can be used to listen for pose updates on a specific part of the model. These listeners
      can be used to add extra animated objects to the model, such as particles and other entities.
    • Animation frame effects: Certain effects that can be conditionally applied on a specific frame of an animation.
      For example, running a command, playing a sound or changing the variant.
    • Many others like bone blacklists, animation loop modes, start and loop delays, etc.

  • Out of the box support for many vanilla mob features:
    • Vanilla accurate hitboxes visible in F3+B, using interactions.
    • The ability to ride on top of the mob, without visually lagging behind.
    • Working invisibility, glowing, fire animation and most particles (like potion effects, crits and death).
    • Correctly rendering leashes, death animations and smooth clientside collisions with players.
    • Dynamic hitboxes and dynamic mob scale (an example use case of this is baby mobs).
    • The model won't tick if the entity wasn't ticked, reducing server and network load.
    • Uses the display entities culling boxes to reduce client lag.

Commands

  • /nylon model create id|filepath <model> - Spawns a model ingame based on mob identifier or a file path (from
    server root folder) to the model json file. These models are not saved and are mostly intended for testing.

  • /nylon model <targets> animation|variant|scale <args> - Modifies the model of any entity selected in <targets>
    that has a custom model. Allows you to temporarily change the scale of the model, update the variant and play /
    pause / stop animations. This is also mostly intended for testing and playing with the models.

Versions

Release
0.13.6
fabric · 26.2 · 1d ago
11
Release
0.13.5
fabric · 26.1, 26.1.1, 26.1.2 · 2mo ago
39
Release
0.13.4
fabric · 1.21.11 · 4mo ago
Fix async tick packet sending
99
Alpha
0.13.3
fabric · 1.21.11 · 4mo ago
Fixed for updated versions of Polymer
35
Alpha
0.13.2
fabric · 1.21.11 · 6mo ago
Update to 1.21.11
79
Release
0.13.1
fabric · 1.21.6, 1.21.7, 1.21.8 · 10mo ago
Update to 1.21.8
164
Beta
0.13.0
fabric · 1.21.5 · 14mo ago
Support for 1.21.5
185
Beta
0.12.0
fabric · 1.21.4 · 17mo ago
Added support for 1.21.4 and Animated Java v1.6.0
232
Beta
0.11.0
fabric · 1.21, 1.21.1 · 22mo ago
Added support for Animated Java 1.4.0
261
Beta
0.10.0
fabric · 1.21, 1.21.1 · 23mo ago
- Added support for AJ 1.0.0 (blueprint format) json exports. - You no longer need a separate resourcepack export, nylon can now automatically generate the…
236
Beta
0.9.16
fabric · 1.21 · 24mo ago
Updated to 1.21
200
Beta
0.9.15
fabric · 1.20.5, 1.20.6 · 25mo ago
Updated to 1.20.6
205

Comments 0

No comments yet. Be the first to share your thoughts.