Use WorldRenderEvents if available (#680)
* Use WorldRenderEvents if available Fixes an issue when Canvas is installed * Improve code * Depend only on fabric-rendering-v1 * Use fabricApi.module
This commit is contained in:
1 parent
a83548876a
commit
566d2a7bca
5 files changed
+50
-6
No files matched your search
+1
-1
@@ -21,7 +21,7 @@ dependencies {
|
||||
modCompile "net.fabricmc:fabric-loader:${project.loader_version}"
|
||||
|
||||
// Fabric API. This is technically optional, but you probably want it anyway.
|
||||
// modCompile "net.fabricmc:fabric:${project.fabric_version}"
|
||||
modCompileOnly fabricApi.module("fabric-rendering-v1", project.fabric_version)
|
||||
|
||||
// PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs.
|
||||
// You may need to force-disable transitiveness on them.
|
||||
|
||||
Reference in new issue
Block a user