From b207f40907d3cf40a796429c9c95c48ce7fee5ac Mon Sep 17 00:00:00 2001 From: TarikBR <64391349+TarikBR@users.noreply.github.com> Date: Tue, 6 Feb 2024 22:37:18 -0300 Subject: [PATCH 1/5] disable mixins --- src/main/resources/sodium.mixins.json | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/src/main/resources/sodium.mixins.json b/src/main/resources/sodium.mixins.json index 8f0769414c..36c18c6eb4 100644 --- a/src/main/resources/sodium.mixins.json +++ b/src/main/resources/sodium.mixins.json @@ -25,15 +25,6 @@ "core.render.immediate.consumer.VertexConsumerProviderImmediateMixin", "core.render.immediate.consumer.VertexConsumersMixin$DualMixin", "core.render.immediate.consumer.VertexConsumersMixin$UnionMixin", - "core.render.world.BufferBuilderStorageMixin", - "core.render.world.WorldRendererMixin", - "core.world.biome.ClientWorldMixin", - "core.world.chunk.EmptyPaletteStorageMixin", - "core.world.chunk.PackedIntegerArrayMixin", - "core.world.chunk.PalettedContainerMixin", - "core.world.map.ClientChunkManagerMixin", - "core.world.map.ClientPlayNetworkHandlerMixin", - "core.world.map.ClientWorldMixin", "features.gui.hooks.console.GameRendererMixin", "features.gui.hooks.debug.DebugHudMixin", "features.gui.hooks.settings.OptionsScreenMixin", @@ -43,13 +34,11 @@ "features.options.overlays.InGameHudMixin", "features.options.render_layers.LeavesBlockMixin", "features.options.render_layers.RenderLayersMixin", - "features.options.weather.WorldRendererMixin", "features.render.entity.CuboidMixin", "features.render.entity.ModelPartMixin", "features.render.entity.cull.EntityRendererMixin", "features.render.entity.shadows.EntityRenderDispatcherMixin", "features.render.gui.font.GlyphRendererMixin", - "features.render.gui.outlines.WorldRendererMixin", "features.render.immediate.DirectionMixin", "features.render.immediate.buffer_builder.intrinsics.BufferBuilderMixin", "features.render.immediate.buffer_builder.sorting.BufferBuilderMixin", @@ -60,14 +49,10 @@ "features.render.model.block.BlockModelRendererMixin", "features.render.model.item.ItemRendererMixin", "features.render.particle.BillboardParticleMixin", - "features.render.world.clouds.WorldRendererMixin", "features.render.world.sky.BackgroundRendererMixin", - "features.render.world.sky.ClientWorldMixin", - "features.render.world.sky.WorldRendererMixin", "features.shader.uniform.ShaderProgramMixin", "features.textures.NativeImageAccessor", "features.textures.SpriteContentsInvoker", - "features.textures.animations.tracking.BlockModelRendererMixin", "features.textures.animations.tracking.DrawContextMixin", "features.textures.animations.tracking.SpriteAtlasTextureMixin", "features.textures.animations.tracking.SpriteBillboardParticleMixin", @@ -83,8 +68,6 @@ "features.textures.mipmaps.MipmapHelperMixin", "features.textures.mipmaps.SpriteContentsMixin", "features.world.biome.BiomeMixin", - "features.world.storage.ClientChunkMapMixin", - "workarounds.context_creation.WindowMixin", - "workarounds.event_loop.RenderSystemMixin" + "workarounds.context_creation.WindowMixin" ] } \ No newline at end of file From de78cb4c4f3342be168dec70a424fc177ef3c5b6 Mon Sep 17 00:00:00 2001 From: TarikBR <64391349+TarikBR@users.noreply.github.com> Date: Tue, 6 Feb 2024 23:36:49 -0300 Subject: [PATCH 2/5] build: update build version name --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index e484a25422..589bb7ef0f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -121,7 +121,7 @@ tasks.withType { fun createVersionString(): String { val builder = StringBuilder() - val isReleaseBuild = project.hasProperty("build.release") + val isReleaseBuild = true //project.hasProperty("build.release") val buildId = System.getenv("GITHUB_RUN_NUMBER") if (isReleaseBuild) { From ff9d261eb11218a7c3e597f93ec6a48cbbb2c946 Mon Sep 17 00:00:00 2001 From: TarikBR <64391349+TarikBR@users.noreply.github.com> Date: Wed, 7 Feb 2024 09:43:48 -0300 Subject: [PATCH 3/5] re-enabled some mixins --- src/main/resources/sodium.mixins.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/main/resources/sodium.mixins.json b/src/main/resources/sodium.mixins.json index 36c18c6eb4..716a745872 100644 --- a/src/main/resources/sodium.mixins.json +++ b/src/main/resources/sodium.mixins.json @@ -68,6 +68,24 @@ "features.textures.mipmaps.MipmapHelperMixin", "features.textures.mipmaps.SpriteContentsMixin", "features.world.biome.BiomeMixin", - "workarounds.context_creation.WindowMixin" + "workarounds.context_creation.WindowMixin", + + "core.world.chunk.PackedIntegerArrayMixin", + "core.world.chunk.EmptyPaletteStorageMixin", + "core.world.chunk.PalettedContainerMixin", + "core.world.biome.ClientWorldMixin", + + "core.world.map.ClientWorldMixin", + "core.world.map.ClientPlayNetworkHandlerMixin", + "core.world.map.ClientChunkManagerMixin", + + "features.world.storage.ClientChunkMapMixin", + "features.render.world.sky.ClientWorldMixin", + "features.textures.animations.tracking.BlockModelRendererMixin", + + "features.options.weather.WorldRendererMixin", + "features.render.gui.outlines.WorldRendererMixin", + "features.render.world.clouds.WorldRendererMixin", + "features.render.world.sky.WorldRendererMixin" ] } \ No newline at end of file From 9a9772eeec0f84c17f23449575f6eb96186759e3 Mon Sep 17 00:00:00 2001 From: TarikBR <64391349+TarikBR@users.noreply.github.com> Date: Thu, 8 Feb 2024 07:09:43 -0300 Subject: [PATCH 4/5] disabled some perf killer mixins on pojav --- src/main/resources/sodium.mixins.json | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/main/resources/sodium.mixins.json b/src/main/resources/sodium.mixins.json index 716a745872..91f8426037 100644 --- a/src/main/resources/sodium.mixins.json +++ b/src/main/resources/sodium.mixins.json @@ -10,7 +10,6 @@ "conformVisibility": true }, "client": [ - "core.MinecraftClientMixin", "core.WindowMixin", "core.gui.WorldLoadingStateMixin", "core.model.colors.BlockColorsMixin", @@ -75,17 +74,11 @@ "core.world.chunk.PalettedContainerMixin", "core.world.biome.ClientWorldMixin", - "core.world.map.ClientWorldMixin", - "core.world.map.ClientPlayNetworkHandlerMixin", - "core.world.map.ClientChunkManagerMixin", - - "features.world.storage.ClientChunkMapMixin", "features.render.world.sky.ClientWorldMixin", - "features.textures.animations.tracking.BlockModelRendererMixin", "features.options.weather.WorldRendererMixin", - "features.render.gui.outlines.WorldRendererMixin", "features.render.world.clouds.WorldRendererMixin", "features.render.world.sky.WorldRendererMixin" + "features.render.world.sky.WorldRendererMixin", ] } \ No newline at end of file From dc82f6780a0d0fa3b6ff436c8add2f63aadaba67 Mon Sep 17 00:00:00 2001 From: TarikBR <64391349+TarikBR@users.noreply.github.com> Date: Thu, 8 Feb 2024 07:12:29 -0300 Subject: [PATCH 5/5] fix --- src/main/resources/sodium.mixins.json | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/resources/sodium.mixins.json b/src/main/resources/sodium.mixins.json index 91f8426037..e0c9bf84e5 100644 --- a/src/main/resources/sodium.mixins.json +++ b/src/main/resources/sodium.mixins.json @@ -79,6 +79,5 @@ "features.options.weather.WorldRendererMixin", "features.render.world.clouds.WorldRendererMixin", "features.render.world.sky.WorldRendererMixin" - "features.render.world.sky.WorldRendererMixin", ] } \ No newline at end of file