Skip to content

Commit

Permalink
Update culling engine and shade it into the jar
Browse files Browse the repository at this point in the history
  • Loading branch information
Pelotrio committed Oct 14, 2023
1 parent 1de1f01 commit a5bb433
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@
* For more details, see https://docs.gradle.org/8.0.1/userguide/java_library_plugin.html#sec:java_library_configurations_graph
*/
dependencies {
shadowImplementation("com.logisticscraft:occlusionculling:0.0.5-SNAPSHOT")
shadowImplementation("com.logisticscraft:occlusionculling:0.0.7-SNAPSHOT")
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ forceEnableMixins = false

# If enabled, you may use 'shadowCompile' for dependencies. They will be integrated in your jar. It is your
# responsibility check the licence and request permission for distribution, if required.
usesShadowedDependencies = false
usesShadowedDependencies = true
# If disabled, won't remove unused classes from shaded dependencies. Some libraries use reflection to access
# their own classes, making the minimization unreliable.
minimizeShadowedDependencies = true
Expand Down
7 changes: 5 additions & 2 deletions src/main/resources/mixins.entityculling.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@
"compatibilityLevel": "JAVA_8",
"mixins": [],
"client": [
"RenderLivingEntityAccessor",
"BlockEntityRenderDispatcherMixin",
"CullableMixin",
"RenderLivingEntityAccessor",
"WorldRendererMixin"
],
"server": []
"server": [],
"injectors": {
"defaultRequire": 1
}
}

0 comments on commit a5bb433

Please sign in to comment.