modsmith Log in Log in Рус / Eng

Vanillin

flw-vanillin · 2018747 downloads · MIT

client: required · server: unsupported (declared by the mod author)

Instanced rendering for entities and block entities using Flywheel

Description

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. 64k chests rendering at 7fps without Vanillin, and 271fps with Vanillin.

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",
  }
}

Versions (18)

VersionMinecraftLoadersFile
1.1.3 1.20.1 forge download
1.1.3+1.20.1 1.20.1 fabric download
1.1.3 1.21.1 neoforge download
1.1.3+1.21.1 1.21.1 fabric download
1.1.2 1.21.1 neoforge download
1.1.2+1.21.1 1.21.1 fabric download
1.1.1+1.20.1 1.20.1 fabric download
1.1.1+1.21.1 1.21.1 fabric download
1.1.1 1.21.1 neoforge download
1.1.1 1.20.1 forge download
1.1.0+1.20.1 1.20.1 fabric download
1.1.0 1.20.1 forge download
1.1.0 1.21.1 neoforge download
1.1.0+1.21.1 1.21.1 fabric download
1.0.0 1.21.1 neoforge download
1.0.0+1.21.1 1.21.1 fabric download
1.0.0+1.20.1 1.20.1 fabric download
1.0.0 1.20.1 forge download

Modrinth page →