mirror of
https://github.com/TeamMidnightDust/CullLeaves.git
synced 2025-12-18 07:05:09 +01:00
Many QoL improvements & Resourcepack features
- Support Sodium 0.6+ - Allow resourcepacks to force culling and hide fully-encircled leaf blocks - Force leaf culling when the smart leaves pack is enabled - Reload world when the config changes - Only apply Sodium mixins when Sodium is actually installed (Removes log spam)
This commit is contained in:
@@ -16,6 +16,9 @@ logoFile = "icon.png"
|
||||
[[mixins]]
|
||||
config = "cullleaves.mixins.json"
|
||||
|
||||
[[mixins]]
|
||||
config = "cullleaves-neoforge.mixins.json"
|
||||
|
||||
[[dependencies.cullleaves]]
|
||||
modId = "neoforge"
|
||||
required = true
|
||||
@@ -26,7 +29,7 @@ side = "CLIENT"
|
||||
[[dependencies.cullleaves]]
|
||||
modId = "minecraft"
|
||||
required = true
|
||||
versionRange = "[1.20,)"
|
||||
versionRange = "[1.21,)"
|
||||
ordering = "NONE"
|
||||
side = "CLIENT"
|
||||
|
||||
|
||||
14
neoforge/src/main/resources/cullleaves-neoforge.mixins.json
Normal file
14
neoforge/src/main/resources/cullleaves-neoforge.mixins.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"required": true,
|
||||
"package": "eu.midnightdust.cullleaves.neoforge.mixin",
|
||||
"plugin": "eu.midnightdust.cullleaves.CullLeavesMixinPlugin",
|
||||
"compatibilityLevel": "JAVA_17",
|
||||
"minVersion": "0.8",
|
||||
"client": [
|
||||
"sodium.MixinBlockRenderer",
|
||||
"sodium.MixinSodiumGameOptionPages"
|
||||
],
|
||||
"injectors": {
|
||||
"defaultRequire": 1
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user