forked from FabricMC/yarn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Jigsaw and rotation/rule test stuff (FabricMC#1227)
Signed-off-by: liach <[email protected]> Co-authored-by: liach <[email protected]>
- Loading branch information
Showing
17 changed files
with
127 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
CLASS net/minecraft/class_3748 net/minecraft/block/JigsawBlock | ||
FIELD field_23262 ORIENTATION Lnet/minecraft/class_2754; | ||
METHOD method_16546 attachmentMatches (Lnet/minecraft/class_3499$class_3501;Lnet/minecraft/class_3499$class_3501;)Z | ||
ARG 0 info1 | ||
ARG 1 info2 |
26 changes: 20 additions & 6 deletions
26
mappings/net/minecraft/block/entity/JigsawBlockEntity.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,27 @@ | ||
CLASS net/minecraft/class_3751 net/minecraft/block/entity/JigsawBlockEntity | ||
FIELD field_16550 attachmentType Lnet/minecraft/class_2960; | ||
FIELD field_16550 name Lnet/minecraft/class_2960; | ||
FIELD field_16551 finalState Ljava/lang/String; | ||
FIELD field_16552 targetPool Lnet/minecraft/class_2960; | ||
FIELD field_16552 target Lnet/minecraft/class_2960; | ||
FIELD field_23327 pool Lnet/minecraft/class_2960; | ||
FIELD field_23328 joint Lnet/minecraft/class_3751$class_4991; | ||
METHOD method_16377 setFinalState (Ljava/lang/String;)V | ||
ARG 1 value | ||
ARG 1 finalState | ||
METHOD method_16378 setTargetPool (Lnet/minecraft/class_2960;)V | ||
ARG 1 value | ||
ARG 1 target | ||
METHOD method_16379 setAttachmentType (Lnet/minecraft/class_2960;)V | ||
ARG 1 value | ||
METHOD method_16380 getFinalState ()Ljava/lang/String; | ||
METHOD method_16381 getAttachmentType ()Lnet/minecraft/class_2960; | ||
METHOD method_16382 getTargetPool ()Lnet/minecraft/class_2960; | ||
METHOD method_16381 getName ()Lnet/minecraft/class_2960; | ||
METHOD method_16382 getPool ()Lnet/minecraft/class_2960; | ||
METHOD method_26396 setJoint (Lnet/minecraft/class_3751$class_4991;)V | ||
ARG 1 joint | ||
METHOD method_26398 setPool (Lnet/minecraft/class_2960;)V | ||
ARG 1 pool | ||
METHOD method_26399 getTarget ()Lnet/minecraft/class_2960; | ||
METHOD method_26400 getJoint ()Lnet/minecraft/class_3751$class_4991; | ||
CLASS class_4991 Joint | ||
FIELD field_23331 name Ljava/lang/String; | ||
METHOD <init> (Ljava/lang/String;ILjava/lang/String;)V | ||
ARG 3 name | ||
METHOD method_26401 byName (Ljava/lang/String;)Ljava/util/Optional; | ||
ARG 0 name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CLASS net/minecraft/class_5000 net/minecraft/block/enums/JigsawOrientation | ||
FIELD field_23393 BY_INDEX Lit/unimi/dsi/fastutil/ints/Int2ObjectMap; | ||
FIELD field_23394 name Ljava/lang/String; | ||
METHOD <init> (Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;)V | ||
ARG 3 name | ||
METHOD method_26425 byDirections (Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;)Lnet/minecraft/class_5000; | ||
METHOD method_26427 getIndex (Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;)I |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
mappings/net/minecraft/client/render/model/ModelRotation.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
mappings/net/minecraft/structure/rule/AlwaysTruePosRuleTest.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
CLASS net/minecraft/class_4994 net/minecraft/structure/rule/AlwaysTruePosRuleTest | ||
FIELD field_23343 INSTANCE Lnet/minecraft/class_4994; |
14 changes: 14 additions & 0 deletions
14
mappings/net/minecraft/structure/rule/AxisAlignedLinearPosRuleTest.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
CLASS net/minecraft/class_4992 net/minecraft/structure/rule/AxisAlignedLinearPosRuleTest | ||
FIELD field_23334 minChance F | ||
FIELD field_23335 maxChance F | ||
FIELD field_23336 minDistance I | ||
FIELD field_23337 maxDistance I | ||
FIELD field_23338 axis Lnet/minecraft/class_2350$class_2351; | ||
METHOD <init> (FFIILnet/minecraft/class_2350$class_2351;)V | ||
ARG 1 minChance | ||
ARG 2 maxChance | ||
ARG 3 minDistance | ||
ARG 4 maxDistance | ||
ARG 5 axis | ||
METHOD <init> (Lcom/mojang/datafixers/Dynamic;)V | ||
ARG 1 data |
12 changes: 12 additions & 0 deletions
12
mappings/net/minecraft/structure/rule/LinearPosRuleTest.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
CLASS net/minecraft/class_4993 net/minecraft/structure/rule/LinearPosRuleTest | ||
FIELD field_23339 minChance F | ||
FIELD field_23340 maxChance F | ||
FIELD field_23341 minDistance I | ||
FIELD field_23342 maxDistance I | ||
METHOD <init> (FFII)V | ||
ARG 1 minChance | ||
ARG 2 maxChance | ||
ARG 3 minDistance | ||
ARG 4 maxDistance | ||
METHOD <init> (Lcom/mojang/datafixers/Dynamic;)V | ||
ARG 1 data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CLASS net/minecraft/class_4995 net/minecraft/structure/rule/PosRuleTest | ||
METHOD method_26404 getType ()Lnet/minecraft/class_4996; | ||
METHOD method_26405 serializeContents (Lcom/mojang/datafixers/types/DynamicOps;)Lcom/mojang/datafixers/Dynamic; | ||
ARG 1 ops | ||
METHOD method_26406 test (Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Ljava/util/Random;)Z | ||
METHOD method_26407 serialize (Lcom/mojang/datafixers/types/DynamicOps;)Lcom/mojang/datafixers/Dynamic; | ||
ARG 1 ops |
4 changes: 4 additions & 0 deletions
4
mappings/net/minecraft/structure/rule/PosRuleTestType.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CLASS net/minecraft/class_4996 net/minecraft/structure/rule/PosRuleTestType | ||
METHOD method_26409 register (Ljava/lang/String;Lnet/minecraft/class_4996;)Lnet/minecraft/class_4996; | ||
ARG 0 id | ||
ARG 1 object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
CLASS net/minecraft/class_4998 net/minecraft/util/AxisTransformation | ||
FIELD field_23368 mappings [I | ||
FIELD field_23369 matrix Lnet/minecraft/class_4581; | ||
FIELD field_23370 COMBINATIONS [[Lnet/minecraft/class_4998; | ||
METHOD <init> (Ljava/lang/String;IIII)V | ||
ARG 3 xMapping | ||
ARG 4 yMapping | ||
ARG 5 zMapping | ||
METHOD method_26416 getMatrix ()Lnet/minecraft/class_4581; | ||
METHOD method_26417 map (I)I | ||
ARG 1 oldAxis | ||
METHOD method_26418 prepend (Lnet/minecraft/class_4998;)Lnet/minecraft/class_4998; | ||
ARG 1 transformation |
25 changes: 25 additions & 0 deletions
25
mappings/net/minecraft/util/DirectionTransformation.mapping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
CLASS net/minecraft/class_4990 net/minecraft/util/DirectionTransformation | ||
FIELD field_23288 matrix Lnet/minecraft/class_4581; | ||
FIELD field_23289 name Ljava/lang/String; | ||
FIELD field_23290 mappings Ljava/util/Map; | ||
FIELD field_23291 flipX Z | ||
FIELD field_23293 flipY Z | ||
FIELD field_23294 flipZ Z | ||
FIELD field_23295 axisTransformation Lnet/minecraft/class_4998; | ||
FIELD field_23296 COMBINATIONS [[Lnet/minecraft/class_4990; | ||
FIELD field_23297 INVERSES [Lnet/minecraft/class_4990; | ||
METHOD <init> (Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_4998;ZZZ)V | ||
ARG 3 name | ||
ARG 4 axisTransformation | ||
ARG 5 flipX | ||
ARG 6 flipY | ||
ARG 7 flipZ | ||
METHOD method_26385 prepend (Lnet/minecraft/class_4990;)Lnet/minecraft/class_4990; | ||
ARG 1 transformation | ||
METHOD method_26387 shouldFlipDirection (Lnet/minecraft/class_2350$class_2351;)Z | ||
ARG 1 axis | ||
METHOD method_26388 map (Lnet/minecraft/class_2350;)Lnet/minecraft/class_2350; | ||
ARG 1 direction | ||
METHOD method_26389 mapJigsawOrientation (Lnet/minecraft/class_5000;)Lnet/minecraft/class_5000; | ||
ARG 1 orientation | ||
METHOD method_26391 getAxisFlips ()Lit/unimi/dsi/fastutil/booleans/BooleanList; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters