Skip to content

Commit

Permalink
Bump MaLiLib / disable MixinAuditor
Browse files Browse the repository at this point in the history
  • Loading branch information
sakura-ryoko committed Jan 18, 2025
1 parent edfa5fc commit f10107f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 14 deletions.
22 changes: 11 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies {
//include(modApi(fabricApi.module("fabric-api-base", project.fabric_api_version)))

modCompileOnly "com.terraformersmc:modmenu:${project.mod_menu_version}"
modRuntimeOnly 'me.fallenbreath:mixin-auditor:0.1.0'
// modRuntimeOnly 'me.fallenbreath:mixin-auditor:0.1.0'
}

base {
Expand All @@ -36,16 +36,16 @@ base {
}

loom {
def commonVmArgs = ['-Dmixin.debug.export=true', '-Dmixin.debug.countInjections=true']
// [FEATURE] MIXIN_AUDITOR
runs {
def auditVmArgs = [*commonVmArgs, '-DmixinAuditor.audit=true']
clientMixinAudit {
client()
vmArgs auditVmArgs
ideConfigGenerated false
}
}
// def commonVmArgs = ['-Dmixin.debug.export=true', '-Dmixin.debug.countInjections=true']
// // [FEATURE] MIXIN_AUDITOR
// runs {
// def auditVmArgs = [*commonVmArgs, '-DmixinAuditor.audit=true']
// clientMixinAudit {
// client()
// vmArgs auditVmArgs
// ideConfigGenerated false
// }
// }
}

processResources {
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ author = masa
mod_file_name = tweakeroo-fabric

# Current mod version
mod_version = 0.23.2-sakura.2
mod_version = 0.23.2-sakura.1

# Required malilib version
malilib_version = a754ac393b
malilib_version = 9aa89b627c

# Minecraft, Fabric Loader and API and mappings versions
minecraft_version_out = 1.21.4
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/fi/dy/masa/tweakeroo/event/RenderHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ private void renderOverlays(Matrix4f posMatrix, MinecraftClient mc)

fi.dy.masa.malilib.render.RenderUtils.setupBlend();

// todo already updated in future versions, I just don't want to break existing
@SuppressWarnings("deprecation")
Color4f color = Configs.Generic.FLEXIBLE_PLACEMENT_OVERLAY_COLOR.getColor();

fi.dy.masa.malilib.render.RenderUtils.renderBlockTargetingOverlay(
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@

"depends": {
"minecraft": "1.21.4",
"malilib": ">=0.23.2-sakura.1"
"malilib": ">=0.23.2-sakura.2"
}
}

0 comments on commit f10107f

Please sign in to comment.