Skip to content

Commit e75799f

Browse files
authored
Add 26.1-pre-2 mappings (#26)
1 parent a1e6009 commit e75799f

File tree

20 files changed

+145
-1
lines changed

20 files changed

+145
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CLASS net/minecraft/class_1_489 com/mojang/blaze3d/platform/BackendSettings
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
CLASS com/mojang/blaze3d/platform/GLX
2+
METHOD _getRefreshRate (Lnet/minecraft/class_1041;)I
3+
ARG 0 window
4+
METHOD _initGlfw (Lnet/minecraft/class_1_489;)Ljava/util/function/LongSupplier;
5+
ARG 0 settings
26
METHOD _setGlfwErrorCallback (Lorg/lwjgl/glfw/GLFWErrorCallbackI;)V
37
ARG 0 callback
8+
METHOD _shouldClose (Lnet/minecraft/class_1041;)Z
9+
ARG 0 window
10+
METHOD glfwBool (Z)I
11+
ARG 0 bool
412
METHOD lambda$_initGlfw$0 (Ljava/lang/Integer;Ljava/lang/String;)V
513
ARG 0 code
614
ARG 1 message

mappings/com/mojang/blaze3d/systems/RenderSystem.mapping

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,34 @@
11
CLASS com/mojang/blaze3d/systems/RenderSystem
22
METHOD bindDefaultUniforms (Lcom/mojang/blaze3d/systems/RenderPass;)V
33
ARG 0 pass
4+
METHOD enableScissorForRenderTypeDraws (IIII)V
5+
ARG 0 x
6+
ARG 1 y
7+
ARG 2 width
8+
ARG 3 height
49
METHOD flipFrame (Lnet/minecraft/class_10219;)V
510
ARG 0 capturer
611
METHOD getSequentialBuffer (Lcom/mojang/blaze3d/vertex/VertexFormat$class_5596;)Lcom/mojang/blaze3d/systems/RenderSystem$class_5590;
712
ARG 0 drawMode
13+
METHOD initBackendSystem (Lnet/minecraft/class_1_489;)Lnet/minecraft/class_7576$class_7577;
14+
COMMENT {@return a {@link TimeSupplier} that retrieves elapsed time from the backend}
15+
ARG 0 settings
16+
METHOD initRenderer (Lcom/mojang/blaze3d/systems/GpuDevice;)V
17+
ARG 0 device
818
METHOD lambda$static$0 (Lit/unimi/dsi/fastutil/ints/IntConsumer;I)V
919
ARG 0 indexConsumer
1020
ARG 1 firstVertexIndex
1121
METHOD lambda$static$1 (Lit/unimi/dsi/fastutil/ints/IntConsumer;I)V
1222
ARG 0 indexConsumer
1323
ARG 1 firstVertexIndex
24+
METHOD queueFencedTask (Ljava/lang/Runnable;)V
25+
ARG 0 task
1426
METHOD setErrorCallback (Lorg/lwjgl/glfw/GLFWErrorCallbackI;)V
1527
ARG 0 callback
1628
METHOD setGlobalSettingsUniform (Lcom/mojang/blaze3d/buffers/GpuBuffer;)V
1729
ARG 0 globalSettingsUniform
1830
METHOD setProjectionMatrix (Lcom/mojang/blaze3d/buffers/GpuBufferSlice;Lnet/minecraft/class_10366;)V
31+
ARG 0 projectionMatrixBuffer
1932
ARG 1 projectionType
2033
METHOD setShaderFog (Lcom/mojang/blaze3d/buffers/GpuBufferSlice;)V
2134
ARG 0 shaderFog

mappings/net/minecraft/block/TripwireHookBlock.mapping

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ CLASS net/minecraft/class_2537 net/minecraft/block/TripwireHookBlock
55
FIELD field_31271 SCHEDULED_TICK_DELAY I
66
FIELD field_46481 CODEC Lcom/mojang/serialization/MapCodec;
77
FIELD field_55808 SHAPES_BY_DIRECTION Ljava/util/Map;
8+
METHOD method_1_3130 update (Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
9+
ARG 0 state
10+
ARG 1 world
11+
ARG 2 pos
812
METHOD method_10775 updateNeighborsOnAxis (Lnet/minecraft/class_2248;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)V
913
ARG 0 block
1014
ARG 1 world

mappings/net/minecraft/client/Keyboard.mapping

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
CLASS net/minecraft/class_309 net/minecraft/client/Keyboard
2+
FIELD field_1_2572 preEditInput Lnet/minecraft/class_1_359;
23
FIELD field_1678 client Lnet/minecraft/class_310;
34
FIELD field_1679 switchF3State Z
45
FIELD field_1680 debugCrashElapsedTime J
@@ -22,6 +23,11 @@ CLASS net/minecraft/class_309 net/minecraft/client/Keyboard
2223
ARG 3 preEdit
2324
METHOD method_1_2579 (J)V
2425
ARG 1 window
26+
METHOD method_1_3100 handleCurrentPreEdit (Lnet/minecraft/class_364;)V
27+
ARG 1 element
28+
METHOD method_1_3101 onImePreEdit (Lnet/minecraft/class_364;Lnet/minecraft/class_1_359;)V
29+
ARG 0 element
30+
ARG 1 preEdit
2531
METHOD method_1455 setClipboard (Ljava/lang/String;)V
2632
ARG 1 clipboard
2733
METHOD method_1456 debugError (Lnet/minecraft/class_2561;)V

mappings/net/minecraft/client/MinecraftClient.mapping

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ CLASS net/minecraft/class_310 net/minecraft/client/MinecraftClient
4141
COMMENT @see net.minecraft.client.render.GameRenderer
4242
FIELD field_1_2136 blockModelManager Lnet/minecraft/class_1_394;
4343
FIELD field_1_2249 lastWindowFocusTime J
44+
FIELD field_1_2571 imeStatusController Lnet/minecraft/class_1_490;
4445
FIELD field_1687 world Lnet/minecraft/class_638;
4546
COMMENT Represents the world the client is currently viewing.
4647
COMMENT This field is not null when in game.
@@ -194,6 +195,10 @@ CLASS net/minecraft/class_310 net/minecraft/client/MinecraftClient
194195
METHOD method_1_2659 updateFocusState ()V
195196
METHOD method_1_2660 updateCrosshairTarget (F)V
196197
ARG 1 tickProgress
198+
METHOD method_1_3096 startEditingTextWidget (Lnet/minecraft/class_364;Z)V
199+
ARG 1 element
200+
ARG 2 focused
201+
METHOD method_1_3097 getImeStatusController ()Lnet/minecraft/class_1_490;
197202
METHOD method_1478 getResourceManager ()Lnet/minecraft/class_3300;
198203
METHOD method_1479 getResourcePackDir ()Ljava/nio/file/Path;
199204
METHOD method_1481 joinWorld (Lnet/minecraft/class_638;)V

mappings/net/minecraft/client/gui/screen/ingame/LoomScreen.mapping

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ CLASS net/minecraft/class_494 net/minecraft/client/gui/screen/ingame/LoomScreen
3131
ARG 1 screenHandler
3232
ARG 2 inventory
3333
ARG 3 title
34+
METHOD method_1_3132 canScroll ()Z
3435
METHOD method_17576 onInventoryChanged ()V
3536
METHOD method_22692 drawBanner (Lnet/minecraft/class_332;IILnet/minecraft/class_1058;)V
3637
ARG 1 context
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
CLASS net/minecraft/class_1_490 net/minecraft/client/input/ImeStatusController
2+
FIELD field_1_2574 enabled Z
3+
COMMENT Whether the IME is enabled by the player.
4+
FIELD field_1_2575 active Z
5+
COMMENT Whether the IME is currently active.
6+
FIELD field_1_2576 statusChanged Z
7+
FIELD field_1_2577 editing Z
8+
COMMENT Whether the player is currently editing some text.
9+
FIELD field_1_2578 window Lnet/minecraft/class_1041;
10+
METHOD <init> (Lnet/minecraft/class_1041;)V
11+
ARG 1 window
12+
METHOD method_1_3107 isEnabled ()Z
13+
METHOD method_1_3108 onChangeStatus ()V
14+
METHOD method_1_3109 setEditing (Z)V
15+
ARG 1 editing
16+
METHOD method_1_3110 setEnabledInner (Z)V
17+
ARG 1 enabled
18+
METHOD method_1_3111 setCursorRectangle (IIII)V
19+
ARG 1 left
20+
ARG 2 top
21+
ARG 3 right
22+
ARG 4 bottom
23+
METHOD method_1_3112 startEditing ()V
24+
METHOD method_1_3113 stopEditign ()V
25+
METHOD method_1_3114 tick ()V
26+
METHOD method_1_3115 updateActiveStatus ()V
27+
METHOD method_1_3116 disable ()V

mappings/net/minecraft/client/network/PendingUpdateManager.mapping

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
CLASS net/minecraft/class_7202 net/minecraft/client/network/PendingUpdateManager
2+
FIELD field_1_2590 sequenceAtLastTeleport I
23
FIELD field_37953 blockPosToPendingUpdate Lit/unimi/dsi/fastutil/longs/Long2ObjectOpenHashMap;
34
FIELD field_37954 sequence I
45
FIELD field_37955 pendingSequence Z
6+
METHOD method_1_3134 onTeleport ()V
57
METHOD method_41937 incrementSequence ()Lnet/minecraft/class_7202;
68
METHOD method_41938 processPendingUpdates (ILnet/minecraft/class_638;)V
79
ARG 1 maxProcessableSequence

mappings/net/minecraft/client/option/GameOptions.mapping

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
CLASS net/minecraft/class_315 net/minecraft/client/option/GameOptions
22
FIELD field_1_17 debugLightmapTextureKey Lnet/minecraft/class_304;
3+
FIELD field_1_2567 EXCLUSIVE_FULLSCREEN_WARNING_TOOLTIP Lnet/minecraft/class_2561;
4+
FIELD field_1_2568 NEEDS_RESTART_TEXT Lnet/minecraft/class_2561;
5+
FIELD field_1_2569 exclusiveFullscreen Lnet/minecraft/class_7172;
6+
FIELD field_1_2570 exclusiveFullscreenOnGameStart Z
37
FIELD field_1814 cloudRenderMode Lnet/minecraft/class_7172;
48
FIELD field_1815 hideServerAddress Z
59
FIELD field_1816 smoothCameraKey Lnet/minecraft/class_304;
@@ -298,6 +302,9 @@ CLASS net/minecraft/class_315 net/minecraft/client/option/GameOptions
298302
ARG 2 optionsFile
299303
METHOD method_1_2454 isValidSoundDevice (Ljava/lang/String;)Z
300304
ARG 0 deviceName
305+
METHOD method_1_3093 getExclusiveFullscreen ()Lnet/minecraft/class_7172;
306+
METHOD method_1_3094 (Ljava/lang/Boolean;)Lnet/minecraft/class_7919;
307+
ARG 1 value
301308
METHOD method_1626 update (Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
302309
ARG 1 nbt
303310
METHOD method_1627 addResourcePackProfilesToManager (Lnet/minecraft/class_3283;)V
@@ -767,6 +774,10 @@ CLASS net/minecraft/class_315 net/minecraft/client/option/GameOptions
767774
ARG 1 value
768775
METHOD method_76785 (Ljava/lang/Boolean;)V
769776
ARG 1 value
777+
METHOD method_76786 (Ljava/lang/Boolean;)V
778+
ARG 1 value
779+
METHOD method_76787 (Ljava/lang/Boolean;)V
780+
ARG 1 value
770781
CLASS 2 2
771782
METHOD method_33676 find (Ljava/lang/String;)Ljava/lang/String;
772783
ARG 1 key

0 commit comments

Comments
 (0)