Skip to content

Commit

Permalink
1.21.4 update (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
PiTheGuy authored Dec 7, 2024
1 parent d5ac19d commit 777d98f
Show file tree
Hide file tree
Showing 285 changed files with 5,101 additions and 40 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ writtenbooks {
}

compass {
version = '1.21.3'
version = '1.21.4'
}

repositories {
Expand Down
29 changes: 29 additions & 0 deletions data/com/mojang/blaze3d/platform/NativeImage.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ CLASS com/mojang/blaze3d/platform/NativeImage
ARG 3 height
ARG 4 useStbFree
ARG 5 pixels
METHOD _upload (IIIIIIIZ)V
ARG 1 level
ARG 2 xOffset
ARG 3 yOffset
ARG 4 unpackSkipPixels
ARG 5 unpackSkipRows
ARG 6 width
ARG 7 height
ARG 8 autoClose
METHOD _upload (IIIIIIIZZZZ)V
ARG 1 level
ARG 2 xOffset
Expand Down Expand Up @@ -77,6 +86,9 @@ CLASS com/mojang/blaze3d/platform/NativeImage
ARG 2 y
METHOD mappedCopy (Ljava/util/function/IntUnaryOperator;)Lcom/mojang/blaze3d/platform/NativeImage;
ARG 1 function
METHOD putAndRead (Ljava/nio/ByteBuffer;[B)Lcom/mojang/blaze3d/platform/NativeImage;
ARG 0 buffer
ARG 1 bytes
METHOD read (Lcom/mojang/blaze3d/platform/NativeImage$Format;Ljava/io/InputStream;)Lcom/mojang/blaze3d/platform/NativeImage;
ARG 0 format
ARG 1 textureStream
Expand Down Expand Up @@ -106,6 +118,23 @@ CLASS com/mojang/blaze3d/platform/NativeImage
ARG 1 x
ARG 2 y
ARG 3 color
METHOD setPixelLuminance (IIB)V
ARG 1 x
ARG 2 y
ARG 3 luminance
METHOD setPixelRGBA (III)V
ARG 1 x
ARG 2 y
ARG 3 abgrColor
METHOD upload (IIIIIIIZ)V
ARG 1 level
ARG 2 xOffset
ARG 3 yOffset
ARG 4 unpackSkipPixels
ARG 5 unpackSkipRows
ARG 6 width
ARG 7 height
ARG 8 autoClose
METHOD upload (IIIIIIIZZ)V
ARG 1 level
ARG 2 xOffset
Expand Down
12 changes: 12 additions & 0 deletions data/com/mojang/blaze3d/vertex/VertexBuffer.mapping
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
CLASS com/mojang/blaze3d/vertex/VertexBuffer
METHOD <init> (Lcom/mojang/blaze3d/buffers/BufferUsage;)V
ARG 1 usage
METHOD <init> (Lcom/mojang/blaze3d/vertex/VertexBuffer$Usage;)V
ARG 1 usage
METHOD _drawWithShader (Lorg/joml/Matrix4f;Lorg/joml/Matrix4f;Lnet/minecraft/client/renderer/ShaderInstance;)V
ARG 1 modelViewMatrix
ARG 2 projectionMatrix
ARG 3 shader
METHOD drawWithRenderType (Lnet/minecraft/client/renderer/RenderType;)V
ARG 1 renderType
METHOD drawWithShader (Lorg/joml/Matrix4f;Lorg/joml/Matrix4f;Lnet/minecraft/client/renderer/CompiledShaderProgram;)V
ARG 1 frustumMatrix
ARG 2 projectionMatrix
Expand All @@ -12,6 +20,10 @@ CLASS com/mojang/blaze3d/vertex/VertexBuffer
METHOD uploadIndexBuffer (Lcom/mojang/blaze3d/vertex/MeshData$DrawState;Ljava/nio/ByteBuffer;)Lcom/mojang/blaze3d/systems/RenderSystem$AutoStorageIndexBuffer;
ARG 1 drawState
ARG 2 buffer
METHOD uploadStatic (Lcom/mojang/blaze3d/vertex/VertexFormat$Mode;Lcom/mojang/blaze3d/vertex/VertexFormat;Ljava/util/function/Consumer;)Lcom/mojang/blaze3d/vertex/VertexBuffer;
ARG 0 mode
ARG 1 format
ARG 2 builder
METHOD uploadVertexBuffer (Lcom/mojang/blaze3d/vertex/MeshData$DrawState;Ljava/nio/ByteBuffer;)Lcom/mojang/blaze3d/vertex/VertexFormat;
ARG 1 drawState
ARG 2 buffer
2 changes: 2 additions & 0 deletions data/com/mojang/math/MatrixUtil.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ CLASS com/mojang/math/MatrixUtil
METHOD eigenvalueJacobi (Lorg/joml/Matrix3f;I)Lorg/joml/Quaternionf;
ARG 0 input
ARG 1 iterations
METHOD isIdentity (Lorg/joml/Matrix4f;)Z
ARG 0 matrix
METHOD isOrthonormal (Lorg/joml/Matrix4f;)Z
ARG 0 matrix
METHOD isPureTranslation (Lorg/joml/Matrix4f;)Z
Expand Down
4 changes: 4 additions & 0 deletions data/net/minecraft/client/KeyMapping.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@ CLASS net/minecraft/client/KeyMapping
ARG 4 category
METHOD click (Lcom/mojang/blaze3d/platform/InputConstants$Key;)V
ARG 0 key
METHOD compareTo (Ljava/lang/Object;)I
ARG 1 other
METHOD consumeClick ()Z
COMMENT Returns {@code true} on the initial key press. For continuous querying use {@link isKeyDown()}. Should be used in key events.
METHOD createNameSupplier (Ljava/lang/String;)Ljava/util/function/Supplier;
COMMENT Returns a supplier which gets a keybind's current binding (eg, <code>key.forward</code> returns <samp>W</samp> by default), or the keybind's name if no such keybind exists (eg, <code>key.invalid</code> returns <samp>key.invalid</samp>)
ARG 0 key
METHOD get (Ljava/lang/String;)Lnet/minecraft/client/KeyMapping;
ARG 0 name
METHOD isDefault ()Z
COMMENT Returns {@code true} if the {@code KeyMapping} is using the default key and key modifier
METHOD isDown ()Z
Expand Down
5 changes: 5 additions & 0 deletions data/net/minecraft/client/color/item/Constant.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CLASS net/minecraft/client/color/item/Constant
METHOD <init> (I)V
ARG 1 value
METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CLASS net/minecraft/client/color/item/CustomModelDataSource
METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
3 changes: 3 additions & 0 deletions data/net/minecraft/client/color/item/Dye.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CLASS net/minecraft/client/color/item/Dye
METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
3 changes: 3 additions & 0 deletions data/net/minecraft/client/color/item/Firework.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CLASS net/minecraft/client/color/item/Firework
METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
3 changes: 3 additions & 0 deletions data/net/minecraft/client/color/item/GrassColorSource.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CLASS net/minecraft/client/color/item/GrassColorSource
METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
7 changes: 7 additions & 0 deletions data/net/minecraft/client/color/item/ItemTintSource.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
CLASS net/minecraft/client/color/item/ItemTintSource
METHOD calculate (Lnet/minecraft/world/item/ItemStack;)I
ARG 1 stack
METHOD calculate (Lnet/minecraft/world/item/ItemStack;Lnet/minecraft/client/multiplayer/ClientLevel;Lnet/minecraft/world/entity/LivingEntity;)I
ARG 1 stack
ARG 2 level
ARG 3 entity
3 changes: 3 additions & 0 deletions data/net/minecraft/client/color/item/MapColor.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CLASS net/minecraft/client/color/item/MapColor
METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
3 changes: 3 additions & 0 deletions data/net/minecraft/client/color/item/Potion.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CLASS net/minecraft/client/color/item/Potion
METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
3 changes: 3 additions & 0 deletions data/net/minecraft/client/color/item/TeamColor.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CLASS net/minecraft/client/color/item/TeamColor
METHOD lambda$static$0 (Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/kinds/App;
ARG 0 instance
6 changes: 6 additions & 0 deletions data/net/minecraft/client/data/Main.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
CLASS net/minecraft/client/data/Main
METHOD addClientProviders (Lnet/minecraft/data/DataGenerator;Z)V
ARG 0 dataGenerator
ARG 1 toRun
METHOD main ([Ljava/lang/String;)V
ARG 0 args
Loading

0 comments on commit 777d98f

Please sign in to comment.