Nylon
这是一个用于在不依赖客户端模组的情况下,使用自定义模型和动画创建服务器端内容的库。
Nylon 是 Animated Java 创建的模型与使用 Polymer 编写的服务器端内容(如实体和方块)之间的桥梁,允许你将使用 Blockbench 制作的精美自定义模型、纹理和动画与完全自定义的方块/生物逻辑相结合。
设置
repositories {
maven { url "https://api.modrinth.com/maven" }
}
dependencies {
modImplementation "maven.modrinth:nylon:[TAG]"
}
功能
-
平滑且准确的动画,使用挂载的显示实体并配置旋转插值,而非盔甲架,以确保旋转平滑且所有模型部件的位置保持同步。
-
对服务器性能的影响极小。Nylon 经过高度优化,模型更新为异步进行。Nylon 还充分利用原版的数据包刷新挂起机制,以减少网络负载和延迟尖峰。
-
支持大多数 Animated Java 功能:
- 变体:能够即时切换不同的模型和纹理。
- 定位器:可用于监听模型特定部分的姿态更新。这些监听器可用于向模型添加额外的动画对象,例如粒子和其他实体。
- 动画帧效果:某些效果可以条件性地应用于动画的特定帧。例如,运行命令、播放声音或更改变体。
- 还有许多其他功能,如骨骼黑名单、动画循环模式、开始和循环延迟等。
- 开箱即用地支持许多原版生物特性:
- 在 F3+B 中可见的原版精确碰撞箱,使用交互实现。
- 能够在生物上方骑乘,而不会出现视觉上的滞后。
- 隐身、发光、火焰动画以及大多数粒子效果(如药水效果、暴击和死亡)正常工作。
- 正确渲染拴绳、死亡动画以及与玩家的原版侧碰撞。
- 动态碰撞箱和动态生物缩放(此功能的一个示例用例是幼年生物)。
- 如果实体未更新,则模型也不会更新,从而减少服务器和网络负载。
- 使用显示实体的裁剪框来减少客户端卡顿。
命令
-
/nylon model create id|filepath <model>- 根据生物标识符或指向模型 json 文件的路径(从服务器根文件夹)在游戏中生成模型。这些模型不会保存,主要用于测试。 -
/nylon model <targets> animation|variant|scale <args>- 修改<targets>中选定的任何具有自定义模型的实体的模型。允许你临时更改模型的缩放比例、更新变体以及播放/暂停/停止动画。这也主要用于测试和探索模型。
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.
下载 Nylon
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Nylon
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Nylon
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Nylon
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Nylon
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Nylon
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Nylon
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Nylon
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Nylon
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Nylon
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
评论 0
登录后参与评分
还没有评论,来抢沙发吧