Skip to content

Commit 9287e9f

Browse files
committed
Document mixin safeguard
1 parent 1541ab9 commit 9287e9f

4 files changed

Lines changed: 15 additions & 3 deletions

File tree

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ plugins {
1111
id("me.modmuss50.mod-publish-plugin") version "0.5.+"
1212
id("net.neoforged.gradleutils") version "5.1.0"
1313
id("org.sinytra.adapter.userdev") version "1.2.1-SNAPSHOT"
14-
id("org.moddedmc.wiki.toolkit") version "0.2.5"
14+
id("org.moddedmc.wiki.toolkit") version "0.4.1"
1515
}
1616

1717
val versionConnector: String by project
85.5 KB
Loading

docs/configuration.mdx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ Connector will generate one with the default configuration options. Each of thes
1111
{
1212
"version": 1,
1313
"hiddenMods": [],
14-
"globalModAliases": {}
14+
"globalModAliases": {},
15+
"enableMixinSafeguard": true
1516
}
1617
```
1718

@@ -61,6 +62,17 @@ Here's a minimal configuration example:
6162
}
6263
```
6364

65+
## Mixin Safeguard
66+
67+
If enabled, halts loading and shows a warning screen when an installed mod contains failing Mixins that Connector was
68+
unable to fix, preventing a hard crash. This warning will only be shown once, after mod transformation, and is enabled
69+
by default.
70+
71+
<Asset location="connector:mixin_safeguard" width="694" />
72+
73+
Disabling the warning may be useful when detected issues are false-positives, e.g. when Mixins have been disabled
74+
via mod config or patched by another mod.
75+
6476
## Dependency Overrides
6577

6678
Connector supports Fabric Loader's [Dependency Overrides](https://fabricmc.net/wiki/tutorial:dependency_overrides) configuration file

docs/developers.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,4 @@ side="BOTH"
9898

9999
Here's how the resulting FML dependency error looks like:
100100

101-
<ModAsset width="100%" title="FML Dependency Error" location="connector:placeholder_mod_dependencies" />
101+
<Asset width="694" title="FML Dependency Error" location="connector:placeholder_mod_dependencies" />

0 commit comments

Comments
 (0)