Use mapped names for sensor and behavior timings/config (#6228)
This commit is contained in:
parent
3051846c73
commit
e2ed8e9e86
2 changed files with 30 additions and 14 deletions
|
|
@ -372,19 +372,23 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ return rootClassName + ".java";
|
||||
+ }
|
||||
+
|
||||
+ private record ClassMapping(
|
||||
+ public record ClassMapping(
|
||||
+ String obfName,
|
||||
+ String mojangName,
|
||||
+ Map<Pair<String, String>, MethodMapping> methodMappings
|
||||
+ ) {
|
||||
+ }
|
||||
+
|
||||
+ private record MethodMapping(
|
||||
+ public record MethodMapping(
|
||||
+ String obfName,
|
||||
+ String mojangName,
|
||||
+ String descriptor
|
||||
+ ) {
|
||||
+ }
|
||||
+
|
||||
+ public @Nullable Map<String, ClassMapping> mappings() {
|
||||
+ return mappings;
|
||||
+ }
|
||||
+}
|
||||
diff --git a/src/main/java/io/papermc/paper/util/TraceUtil.java b/src/main/java/io/papermc/paper/util/TraceUtil.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue