跳到正文

Xylene

作者:FiveNova

A Small Optimization Mod that will help boost your FPS. Won't be massive but its noticeable.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

XyleneOptimal

Working Features!

Faster Maths

Minecraft uses sin() and cos() math functions constantly (lighting, rendering, entity movement, etc.). Normally these are calculated fresh every time. Xylene pre-calculates all 65,536 possible answers and stores them in a table. When the game needs sin/cos, it just looks up the answer instantly instead of doing the math.

Faster Data Storage

Minecraft stores a LOT of data in things called HashMaps (think of them like dictionaries). Xylene swaps out the default Java ones for specially optimized ones that are faster for the types of data Minecraft uses (NBT data, entity tracking, etc.)

Entity Tick Culling

Every tick (20 times per second), Minecraft updates every single entity — zombies, cows, item frames, everything. Xylene skips updating entities that are more than 48 blocks away from any player. They’re too far away for you to notice anyway. (Bosses and players are never skipped.)

Collision Skipping

Minecraft constantly checks if entities are colliding with things. Xylene tracks whether an entity has actually moved. If it hasn’t moved, it skips the collision check entirely — no point rechecking something that’s standing still.

Faster Network Encoding

When your game talks to the server, numbers are encoded in a special format called “VarInt.” Xylene replaces the encoding loop with a faster hand-written version.

Xylene Settings

It shows all the toggle switches for every Xylene optimization category, so you can turn individual optimizations on/off.

The Following Features are still in Alpha! (Only Availible on Alpha Versions.)

Tick Interpolation

smooth entity/player motion between ticks at any framerate.

Async Chunk Mesh Building 

chunk geometry compiled off the main thread.

Shader Warm-up

GL shaders pre-compiled on startup to kill first-use stutter.

Resource Pack Async Loading

pack switching no longer freezes the game.

Smooth Lighting Cache

AO values cached, recomputed only when blocks change.

Crowd Simulation

simplified pathfinding for densely packed entities.

Client-Side Prediction Smoothing

blends out small server position corrections.

Packet Processing Throttle

caps packet drain time per frame to protect the render thread.

Rubber Band Reducer

interpolates small server snaps; large ones still apply instantly.

Ping Jitter Buffer

short buffer that absorbs brief ping spikes.

Xylene

What’s “Planned But Not Active”

About 40+ other mixins are registered but are currently empty placeholders, things like hopper optimization, redstone optimization, lighting improvements, chunk loading tweaks, etc. The framework is there but the actual optimization code hasn’t been filled in yet. They load harmlessly and do nothing.

常见问题

Xylene 支持哪些 Minecraft 版本?

Xylene 支持 Minecraft Java 版 1.21.11,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Xylene 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

FiveNova 的其他作品

查看全部 →