mirror of https://github.com/FabricMC/yarn.git
17 lines
837 B
Plaintext
17 lines
837 B
Plaintext
CLASS net/minecraft/class_3914 net/minecraft/screen/ScreenHandlerContext
|
|
COMMENT Screen handler contexts allow screen handlers to interact with the
|
|
COMMENT logical server's world safely.
|
|
FIELD field_17304 EMPTY Lnet/minecraft/class_3914;
|
|
COMMENT The dummy screen handler context for clientside screen handlers.
|
|
METHOD method_17392 create (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Lnet/minecraft/class_3914;
|
|
COMMENT Returns an active screen handler context. Used on the logical server.
|
|
ARG 0 world
|
|
ARG 1 pos
|
|
METHOD method_17393 run (Ljava/util/function/BiConsumer;)V
|
|
ARG 1 function
|
|
METHOD method_17395 run (Ljava/util/function/BiFunction;)Ljava/util/Optional;
|
|
ARG 1 function
|
|
METHOD method_17396 run (Ljava/util/function/BiFunction;Ljava/lang/Object;)Ljava/lang/Object;
|
|
ARG 1 function
|
|
ARG 2 defaultValue
|