Skip to content

Commit

Permalink
Map painting changes (#3857)
Browse files Browse the repository at this point in the history
* Map paintings except for entity changes

* Map paintings entity changes

---------

Co-authored-by: Shnupbups <[email protected]>
  • Loading branch information
MattiDragon and Shnupbups authored May 5, 2024
1 parent db2464b commit 33e8c7e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ CLASS net/minecraft/class_1530 net/minecraft/entity/decoration/AbstractDecoratio
ARG 1 type
ARG 2 world
ARG 3 pos
METHOD method_59941 getAttachmentBox ()Lnet/minecraft/class_238;
METHOD method_59942 (Lnet/minecraft/class_2338;)Z
ARG 1 pos
METHOD method_59943 calculateBoundingBox (Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Lnet/minecraft/class_238;
ARG 1 pos
ARG 2 side
METHOD method_6890 (Lnet/minecraft/class_1297;)Z
ARG 0 entity
METHOD method_6892 setFacing (Lnet/minecraft/class_2350;)V
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ CLASS net/minecraft/class_1534 net/minecraft/entity/decoration/painting/Painting
ARG 1 variant
METHOD method_43403 getSize (Lnet/minecraft/class_6880;)I
ARG 0 variant
METHOD method_59946 getOffset (I)D
ARG 1 length
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CLASS net/minecraft/class_7408 net/minecraft/entity/decoration/painting/PaintingVariants
METHOD method_43406 registerAndGetDefault (Lnet/minecraft/class_7891;)V
METHOD method_43406 bootstrap (Lnet/minecraft/class_7891;)V
ARG 0 registry
METHOD method_43407 of (Ljava/lang/String;)Lnet/minecraft/class_5321;
ARG 0 id
Expand Down
2 changes: 2 additions & 0 deletions mappings/net/minecraft/util/math/Box.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ CLASS net/minecraft/class_238 net/minecraft/util/math/Box
COMMENT {@code pos2}, both inclusive}
ARG 0 pos1
ARG 1 pos2
METHOD method_60314 offset (Lorg/joml/Vector3f;)Lnet/minecraft/class_238;
ARG 1 offset
METHOD method_989 offset (DDD)Lnet/minecraft/class_238;
COMMENT Creates a box that is translated by {@code x}, {@code y}, {@code z} on
COMMENT each axis from this box.
Expand Down

0 comments on commit 33e8c7e

Please sign in to comment.