diff --git a/gradle.properties b/gradle.properties index 64e6a63..3f33b3b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,11 +3,11 @@ org.gradle.jvmargs=-Xmx2G # Fabric Properties # check these on https://fabricmc.net/use -minecraft_version=1.20.1 -yarn_mappings=1.20.1+build.8 -loader_version=0.14.21 +minecraft_version=1.20.3 +yarn_mappings=1.20.3+build.1 +loader_version=0.15.0 #Fabric api -fabric_version=0.84.0+1.20.1 +fabric_version=0.91.1+1.20.3 # Mod Properties mod_version = 1.15.0-SNAPSHOT @@ -19,7 +19,7 @@ archives_base_name = satin findbugs_version = 3.0.2 jb_annotations_version = 18.0.0 apiguardian_version = 1.0.0 -modmenu_version = 7.0.1 +modmenu_version = 9.0.0-pre.1 iris_version = 1.6.3+1.19.4 #Publishing diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 41dfb87..15de902 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/src/main/java/ladysnake/satin/mixin/client/blockrenderlayer/WorldRendererMixin.java b/src/main/java/ladysnake/satin/mixin/client/blockrenderlayer/WorldRendererMixin.java index 2300df0..b5cfdfc 100644 --- a/src/main/java/ladysnake/satin/mixin/client/blockrenderlayer/WorldRendererMixin.java +++ b/src/main/java/ladysnake/satin/mixin/client/blockrenderlayer/WorldRendererMixin.java @@ -61,10 +61,10 @@ public abstract class WorldRendererMixin { ), locals = LocalCapture.CAPTURE_FAILSOFT ) - private void renderCustom(MatrixStack matrices, float tickDelta, long limitTime, boolean renderBlockOutline, Camera camera, GameRenderer gameRenderer, LightmapTextureManager lightmapTextureManager, Matrix4f positionMatrix, CallbackInfo ci, Profiler profiler, Vec3d vec3d, double x, double y, double z) { + private void renderCustom(MatrixStack matrices, float tickDelta, long limitTime, boolean renderBlockOutline, Camera camera, GameRenderer gameRenderer, LightmapTextureManager lightmapTextureManager, Matrix4f projectionMatrix, CallbackInfo ci) { // Render all the custom ones for(RenderLayer layer : BlockRenderLayerRegistry.INSTANCE.getLayers()) { - renderLayer(layer, matrices, x, y, z, positionMatrix); + renderLayer(layer, matrices, camera.getPos().x, camera.getPos().y, camera.getPos().z, projectionMatrix); } }