Links
Tags
Creators
Details
2.4
Compatibility
Required content
Changes
Please note, the “Lighting bug” fix is not valid at the moment, more details on the wiki
From 2.4, all functionality for fixing the “Lighting bug” was moved to the client
what does it mean? :
- The most important thing: the server no longer needs to check all players on the server, check player entry/exit events, and the same constant movement of the entity to the player’s position every tick!
As a result: the server doesn't need to calculate anything at all: a huge increase in tps compared to 2.3
- The client has not been spared either: now, you don't need to render EntityLightingFix (the entity to fix the bug) for other players at all: each player calculates and renders only their own EntityLightingFix.
What does it mean? For example:
in 2.3 there were 10 players, on behalf of one of the players, he would have to render 20 entities in total: 10 players + 10 of their EntityLightingFix
in 2.4 there were 10 players, on behalf of one of the players, he would have to render 11 entities in total: 10 players + 1 of his EntityLightingFix.
Before: 100 players? - 200 entities, 1000 players? - 2000 entities. Now: 100 players? - 101 entities, 1000 players? - 1001 entities
As a result: a huge increase in FPS associated with an incredibly large reduction in the number of entities to render
Supplementary resources
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:N50mCZS0:rLuAjLyT"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:N50mCZS0:rLuAjLyT"
}![[Discontinued] Shader fixer](https://cdn.modrinth.com/data/N50mCZS0/a076d62e24fd3a52331086d6e26eead605109dd2_96.webp)

