Add missing particle mappings

This commit is contained in:
Nassim Jahnke 2024-10-29 13:25:56 +01:00
parent 5022385438
commit d622980aab
No known key found for this signature in database
GPG Key ID: EF6771C01F6EF02F
5 changed files with 7 additions and 7 deletions

View File

@ -15,7 +15,7 @@ dependencies {
api("ch.qos.logback:logback-classic:1.5.8")
compileOnly("org.jetbrains:annotations:26.0.1")
// Uncomment to manually run mappings gen in ide
compileOnly(files("server.jar"))
// compileOnly(files("server.jar"))
testImplementation("org.junit.jupiter:junit-jupiter:5.11.1")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")

View File

@ -390,8 +390,8 @@
"pale_hanging_moss[tip=false]": "hanging_roots[waterlogged=false]"
},
"particles": {
"trail": "",
"block_crumble": ""
"trail": "entity_effect",
"block_crumble": "block"
},
"blockentities": {
"creaking_heart": ""

Binary file not shown.

View File

@ -236,7 +236,7 @@
"size": 1732
},
"1.21.2:1.21": {
"object-hash": -2005729684,
"object-hash": -2005691965,
"size": 6356
}
}

View File

@ -111,15 +111,15 @@ public final class ManualRunner {
try {
// Server jar bundle since 21w39a
// Alternatively, java -DbundlerMainClass=net.minecraft.data.Main -jar server.jar --reports
// Alternatively, java -DbundlerMainClass=net.minecraft.data.Main -jar server.jar --all
System.setProperty("bundlerMainClass", "net.minecraft.data.Main");
Class.forName("net.minecraft.bundler.Main").getDeclaredMethod("main", String[].class).invoke(null, (Object) new String[]{"--reports"});
Class.forName("net.minecraft.bundler.Main").getDeclaredMethod("main", String[].class).invoke(null, (Object) new String[]{"--all"});
ServerJarUtil.waitForServerMain();
} catch (final ClassNotFoundException ignored) {
final Class<?> mainClass = Class.forName("net.minecraft.data.Main");
mainClass.getDeclaredMethod("main", String[].class).invoke(null, (Object) new String[]{"--reports"});
}
MappingsGenerator.collectMappings("1.20.5");
MappingsGenerator.collectMappings("1.21.2-pre3");
}
}