Tags
Creators
Details
1.0.0
Compatibility
Required content
Changes
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.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:X3JsdcbI:DqcXIVV7"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:X3JsdcbI:DqcXIVV7"
}

