Skip to content

Commit

Permalink
Merge pull request #39 from DietrichPaul/1.20
Browse files Browse the repository at this point in the history
1.20.3 compatibility
  • Loading branch information
Pyrofab authored Dec 5, 2023
2 parents 2b88ee7 + 08c7436 commit efb60f0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit efb60f0

Please sign in to comment.