modcrawl 0.11.3 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -3
- package/modcrawl_bg.wasm +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ Analyze **Minecraft mods and plugins** to find out which loader they belong to,
|
|
|
19
19
|
It helps you quickly answer the everyday questions that pop up while building or fixing a modpack:
|
|
20
20
|
|
|
21
21
|
- **Clean up mixed mod loaders:** Easily spot and remove leftover Fabric mods in a NeoForge modpack (like when **moving away from Sinytra Connector**).
|
|
22
|
-
- **Separate Client, Server, and
|
|
22
|
+
- **Separate Client, Server, Both, and Unknown:** Quickly **identify client-only mods** mixed into a **server folder** so you can purge them before launching.
|
|
23
23
|
- **Find the culprit behind cryptic crashes:** When a crash log gives you an obfuscated Java method call but doesn't mention which mod broke, trace references directly back to the offending JAR.
|
|
24
24
|
- **Catch conflicts before they happen:** Identify duplicate classes or overlapping mixin targets across multiple mods that might collide on startup.
|
|
25
25
|
- **Inspect metadata instantly:** Check mod loaders, dependencies, versions, and internal file lists without manually unzipping every JAR.
|
|
@@ -39,6 +39,9 @@ It helps you quickly answer the everyday questions that pop up while building or
|
|
|
39
39
|
# Detect mod loader
|
|
40
40
|
modcrawl type MyMod.jar
|
|
41
41
|
|
|
42
|
+
# Classify client-only, server-only, both, or unknown mods
|
|
43
|
+
modcrawl side mods/
|
|
44
|
+
|
|
42
45
|
# Inspect metadata and dependencies
|
|
43
46
|
modcrawl deps MyMod.jar
|
|
44
47
|
|
|
@@ -112,13 +115,17 @@ cargo add modcrawl
|
|
|
112
115
|
```rust
|
|
113
116
|
use std::path::Path;
|
|
114
117
|
|
|
115
|
-
use modcrawl::{analyze, identify, read_metadata};
|
|
118
|
+
use modcrawl::{analyze, classify, identify, read_metadata};
|
|
116
119
|
|
|
117
120
|
fn main() -> modcrawl::Result<()> {
|
|
118
121
|
let jar = Path::new("MyMod.jar");
|
|
119
122
|
|
|
120
123
|
println!("{}", identify(jar)?);
|
|
121
|
-
|
|
124
|
+
|
|
125
|
+
let metadata = read_metadata(jar)?;
|
|
126
|
+
println!("{metadata}");
|
|
127
|
+
println!("{}", classify(&metadata));
|
|
128
|
+
|
|
122
129
|
print!("{}", analyze(jar, false)?);
|
|
123
130
|
|
|
124
131
|
Ok(())
|
package/modcrawl_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED