aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle.kts3
-rw-r--r--mappings/net/minecraft/profiler/Profiler.mapping9
2 files changed, 12 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 42f1a75..39776ec 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -88,6 +88,9 @@ val generateDiffTiny by tasks.register("generateDiffTiny", DiffTinyFilesTask::cl
this.mergedTinyFile.set(tinyFromMergedEnigma.outputTinyFile)
this.baseTinyFile.set(mcpExclusiveBase.outputTinyFile)
this.outputTinyFile.set(layout.buildDirectory.file("overlayGenerated.tiny"))
+ this.retainedNamespaces.add("searge")
+ this.retainedNamespaces.add("mcp")
+ this.sharedNamespace.set("searge")
}
val generateMappingPatches by tasks.register("generateMappingPatches", UnpackMappingsTask::class) {
diff --git a/mappings/net/minecraft/profiler/Profiler.mapping b/mappings/net/minecraft/profiler/Profiler.mapping
new file mode 100644
index 0000000..bd02cf1
--- /dev/null
+++ b/mappings/net/minecraft/profiler/Profiler.mapping
@@ -0,0 +1,9 @@
+CLASS net/minecraft/profiler/Profiler
+ CLASS Result
+ FIELD field_76330_b rootPercentage D
+ FIELD field_76331_c profilerName Ljava/lang/String;
+ FIELD field_76332_a usePercentage D
+ METHOD <init> <init> (Ljava/lang/String;DD)V
+ ARG 4 rootPercentage
+ METHOD compareTo compareTo (Ljava/lang/Object;)I
+ ARG 1 result