Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Threading related mappings #277

Merged
merged 1 commit into from
Sep 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions mappings/net/minecraft/client/MinecraftClient.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ CLASS net/minecraft/class_310 net/minecraft/client/MinecraftClient
COMMENT @see net.minecraft.server.integrated.IntegratedServer
COMMENT @see net.minecraft.client.render.GameRenderer
FIELD field_0_2522 resourcePackDir Ljava/io/File;
FIELD field_0_2546 taskQueue Ljava/util/Queue;
FIELD field_16240 profiler Lnet/minecraft/class_3689;
FIELD field_16240 profiler Lnet/minecraft/class_3695;
FIELD field_16762 game Lnet/minecraft/class_3799;
Expand Down Expand Up @@ -207,6 +208,7 @@ CLASS net/minecraft/class_310 net/minecraft/client/MinecraftClient
FIELD field_41782 navigationType Lnet/minecraft/class_8015;
METHOD <init> (Lnet/minecraft/class_542;)V
ARG 1 args
METHOD method_0_2258 submit (Ljava/util/concurrent/Callable;)Lcom/google/common/util/concurrent/ListenableFuture;
METHOD method_1476 checkIs64Bit ()Z
METHOD method_1478 getResourceManager ()Lnet/minecraft/class_3300;
METHOD method_1479 getResourcePackDir ()Ljava/io/File;
Expand Down
1 change: 1 addition & 0 deletions mappings/net/minecraft/server/MinecraftServer.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ CLASS net/minecraft/server/MinecraftServer
FIELD field_4556 userCache Lnet/minecraft/class_3312;
FIELD field_4557 lastTimeReference J
FIELD field_4558 scoreboard Lnet/minecraft/class_2995;
FIELD field_4559 thread Ljava/lang/Thread;
FIELD field_4560 preventProxyConnections Z
FIELD field_4561 stopped Z
FIELD field_4562 commandManager Lnet/minecraft/class_2170;
Expand Down
4 changes: 4 additions & 0 deletions mappings/net/minecraft/util/Util.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ CLASS net/minecraft/class_156 net/minecraft/util/Util
FIELD field_39824 DATE_TIME_FORMATTER Ljava/time/format/DateTimeFormatter;
COMMENT A locale-independent datetime formatter that uses {@code yyyy-MM-dd_HH.mm.ss}
COMMENT as the format string. Example: {@code 2022-01-01_00.00.00}
METHOD method_0_5531 executeTask (Ljava/util/concurrent/FutureTask;Lorg/apache/logging/log4j/Logger;)Ljava/lang/Object;
ARG 0 task
METHOD method_17815 stream (Ljava/util/Optional;)Ljava/util/stream/Stream;
ARG 0 optional
METHOD method_17974 ifPresentOrElse (Ljava/util/Optional;Ljava/util/function/Consumer;Ljava/lang/Runnable;)Ljava/util/Optional;
Expand Down Expand Up @@ -449,6 +451,7 @@ CLASS net/minecraft/class_156 net/minecraft/util/Util
METHOD method_666 (Ljava/lang/String;)Z
ARG 0 runtimeArg
METHOD method_667 getLogger ()Lorg/apache/logging/log4j/Logger;
METHOD method_668 getOperatingSystem ()Lnet/minecraft/class_156$class_0_1514;
METHOD method_668 getOperatingSystem ()Lnet/minecraft/class_156$class_158;
COMMENT {@return the operating system instance for the current platform}
COMMENT
Expand All @@ -473,6 +476,7 @@ CLASS net/minecraft/class_156 net/minecraft/util/Util
ARG 1 throwable
CLASS 7
CLASS 8
CLASS class_0_1514 OperatingSystem
CLASS class_157 IdentityHashStrategy
METHOD equals (Ljava/lang/Object;Ljava/lang/Object;)Z
ARG 1 o
Expand Down
3 changes: 3 additions & 0 deletions mappings/net/minecraft/util/thread/ThreadExecutor.mapping
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
CLASS net/minecraft/class_0_1718 net/minecraft/util/thread/ThreadExecutor
METHOD method_0_6676 submit (Ljava/lang/Runnable;)Lcom/google/common/util/concurrent/ListenableFuture;
METHOD method_5387 isOnThread ()Z
CLASS net/minecraft/class_1255 net/minecraft/util/thread/ThreadExecutor
FIELD field_18318 name Ljava/lang/String;
FIELD field_18319 executionsInProgress I
Expand Down
Loading