VSSW Client Fix
A client-side performance fix for Valkyrien Space Star Wars (VSSW) on Forge 1.20.1.
介绍
Fixes significant FPS drops that occur when multiple idle ships with thrusters are within render range. Tested with 20+ ships carrying 94 thrusters — total ship block entity rendering cost drops from ~34% of the client frame to ~17%.
What does it fix?
Every thruster on every VSSW ship runs an expensive renderTick() call every frame, even when the ship is completely idle with no thrust. This method performs a VS2 ship matrix lookup (getClientShip()) and several quaternion transforms — multiplied across dozens of thrusters across many ships, this adds up fast.
VSSW Client Fix skips renderTick() entirely for thrusters on ships beyond a configurable distance from the player, eliminating the per-frame VS2 overhead for ships you can’t meaningfully interact with.
Features
- Automatic thruster culling — thrusters on distant ships skip their expensive per-frame VS2 ship matrix lookups
- Particle cleanup — the particle cube HashSet is cleared for culled thrusters, preventing stale particles from rendering
- Single config value — just set
cullDistancein blocks, done - Client-side only — install only on your client, no server changes needed
- Compatible with Embeddium / Radium / Sodium — uses a Forge event + targeted Mixin, no conflicts with the Embeddium rendering pipeline
Configuration
After first launch, edit config/vssw_client_fix.properties:
# Thrusters on ships beyond this distance (in blocks) skip their
# expensive per-frame VS2 ship matrix lookups. Default: 100
# Set to 99999 to disable.
cullDistance=100.0
Restart required after changing the config.
Requirements
| Dependency | Version |
|---|---|
| Minecraft | 1.20.1 |
| Forge | 47.x |
| Valkyrien Skies 2 | Any |
| Valkyrien Space Star Wars (VSSW) | 0.6.x |
常见问题
VSSW Client Fix 支持哪些 Minecraft 版本?
VSSW Client Fix 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
VSSW Client Fix 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
feuerdrache0 的其他作品
查看全部 →TACZ – BATTLEGROUNDS 3
这是一款 Minecraft 服务器,旨在借助 Timeless and Classics Zero 和许多其他模组,为玩家带来类似 Decimation 的射击体验!
Star Wars Fleet Assault
Minecraft server that brings fleet battles to minecraft using Valkyrien Skies!
Energy Turrets
Color-coded energy turrets for Aeronautics ships — blue, green, and red, each with its own sound, configurable fire rate, and wrench-adjustable aim.
Space War Thruster Config
Mod that adds config for max thruster output for each type of thruster from Space War Aeronautics!
评论
登录后评论和评分