Fast Static Entity
Reduces client-side rendering overhead by reusing cached render states for static decorative entities instead of rebuilding them every frame.
介绍
[Fast Static Entity]
**THE MODS SIZE IS ONLY ABOUT 11KB**
A lightweight client-side optimization mod that reduces unnecessary render preparation for decorative entities whose visual state has not changed.
Instead of performing full render state extraction every frame, the mod reuses the entity’s previously extracted render state when it is safe to do so. The entity is still rendered normally and is never culled; only the preparation work before rendering is skipped.
Features
- Cached Render States Reuses the previous render state for eligible decorative entities instead of repeatedly extracting their pose, equipment, model, item, map, and other visual data every frame.
- Minimal Cache Updates On a cache hit, only the values that need to remain current are updated:
ageInTicksanddistanceToCameraSq. This keeps small animations and distance-dependent rendering behavior working correctly.
- Per-Entity Caching The cache is stored directly on each entity rather than in a global map. When an entity is unloaded, its cached state is automatically released with it, avoiding unnecessary global memory usage and potential memory leaks.
- Event-Driven Invalidation Caches are invalidated when relevant entity data, equipment, damage states, block/light data, or resources change. The mod does not rely on constant tick-based polling to detect changes.
- Position and Rotation Tracking Entity position and rotation changes are checked directly to prevent stale render states from being reused when an entity actually moves or changes orientation.
Optimized entities include Armor Stands, Item Frames, Glow Item Frames, Paintings, Display Entities with fixed billboarding, and compatible decorative entities derived from BlockAttachedEntity.
Entities with dynamic visual conditions such as nametags, scoreboards, glow outlines, fire, shadows, leashes, passengers, vehicles, or active crosshair targeting are excluded from caching when necessary.
Fully standalone with no additional dependencies required. The implementation contains no unnecessary commented-out code or dead code.
Safe to use in both singleplayer and multiplayer. The mod operates entirely on the client side and does not modify server-side gameplay or mechanics.
常见问题
Fast Static Entity 支持哪些 Minecraft 版本?
Fast Static Entity 支持 Minecraft Java 版 26.2,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Fast Static Entity 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
Ghost 的其他作品
查看全部 →
Samurai Dynasty
This mod is inspired by the japanes folklore and samurai. It will add new 3D armors and weapons to the game.
Harvestable Flowers
Harvestable Flowers allows you to get flowers by using bone meal on it.
Epic Knights’n’Mages – Forge
This is an Ars Nouveau addon, focused on adding new armors and Source Gem's to the game.
Regions Unexplored: Expansion
Remodels vanilla biomes to match the look of Regions Unexplored biomes
评论
登录后评论和评分