工作原理
Vanillin 通过 Flywheel 为实体和方块实体实现实例化渲染,从而优化 Minecraft。
在 Flywheel 承担主要计算工作后,Vanillin 能够对其影响的所有游戏对象实现显著的性能提升。最终结果是:一万件相同物体的帧时间开销与一件物体相同。

光影
Flywheel 1.0 以及因此的 Vanillin 目前不兼容光影。正在努力使 Flywheel 与光影的原生兼容性成为现实,但无法提供时间预估。
优化
Vanillin 默认不会优化所有内容。需要为每种类型的实体和方块实体构建特殊支持。目前已优化的内容如下。
✅ = 稳定,默认启用。
? = 实验性,需在配置文件中启用。
❌ = 因崩溃/兼容性等原因暂时完全禁用。
方块实体
- ✅ 箱子
- ✅ 潜影盒
- ✅ 钟
- ❌ 告示牌
实体
- ✅ 矿车(及所有变体)
- ? 物品
- ? 物品显示
- ? 方块显示
配置
要启用实验性优化,请编辑配置文件:
Forge/NeoForge
config/vanillin.toml
[entities]
#Allowed Values: DEFAULT, DISABLE, FORCE_ENABLE
- "minecraft:item" = "DEFAULT"
+ "minecraft:item" = "FORCE_ENABLE"
Fabric
config/vanillin.json
{
"entities": {
- "minecraft:item": "default",
+ "minecraft:item": "force_enable",
}
}
或者,您可以禁用导致冲突的优化:
Forge/NeoForge
config/vanillin.toml
[entities]
#Allowed Values: DEFAULT, DISABLE, FORCE_ENABLE
- "minecraft:minecart" = "DEFAULT"
+ "minecraft:minecart" = "DISABLE"
Fabric
config/vanillin.json
{
"entities": {
- "minecraft:minecart": "default",
+ "minecraft:minecart": "disable",
}
}
How it Works
Vanillin optimizes Minecraft by implementing instanced rendering for entities and block entities through Flywheel.
With Flywheel doing the heavy lifting, Vanillin is able to achieve significant performance improvements on all the game objects it affects. The end result is that ten thousand of something have the same frame time impact as one of something.

Shaders
Flywheel 1.0, and therefore Vanillin, is currently incompatible with shaders. Work is underway to make first party compat between Flywheel and shaders a reality, but no time estimates can be made.
Optimizations
Vanillin does not optimize everything by default. Special support needs to be built for each type of entity and block entity. Those that are currently optimized are listed below.
✅ = Stable, enabled by default.
? = Experimental, enabled behind a config.
❌ = Temporarily disabled entirely due to crashes/compat/etc.
Block Entities
- ✅ Chests
- ✅ Shulker boxes
- ✅ Bells
- ❌ Signs
Entities
- ✅ Minecarts (and all variants)
- ? Items
- ? Item Displays
- ? Block Displays
Config
To enable experimental optimizations, edit the config file:
Forge/NeoForge
config/vanillin.toml
[entities]
#Allowed Values: DEFAULT, DISABLE, FORCE_ENABLE
- "minecraft:item" = "DEFAULT"
+ "minecraft:item" = "FORCE_ENABLE"
Fabric
config/vanillin.json
{
"entities": {
- "minecraft:item": "default",
+ "minecraft:item": "force_enable",
}
}
Alternatively, you can disable optimizations that you find to be causing conflict:
Forge/NeoForge
config/vanillin.toml
[entities]
#Allowed Values: DEFAULT, DISABLE, FORCE_ENABLE
- "minecraft:minecart" = "DEFAULT"
+ "minecraft:minecart" = "DISABLE"
Fabric
config/vanillin.json
{
"entities": {
- "minecraft:minecart": "default",
+ "minecraft:minecart": "disable",
}
}
下载 Vanillin
下载 Vanillin
下载 Vanillin
下载 Vanillin
下载 Vanillin
下载 Vanillin
下载 Vanillin
下载 Vanillin
下载 Vanillin
下载 Vanillin
- 临时修复:移除标志实例化
- 修复因 Font 代码的 mixin 导致的资源重载崩溃问题
- 修复物品显示未能正确更新的问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
评论 0
登录后参与评分
还没有评论,来抢沙发吧