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.
whole lotta refactors here
- Loading branch information
Showing
42 changed files
with
535 additions
and
161 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
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
CLASS net/minecraft/class_2776 net/minecraft/block/enums/StructureBlockMode | ||
FIELD field_12698 name Ljava/lang/String; | ||
FIELD field_26444 text Lnet/minecraft/class_2561; | ||
FIELD field_56673 CODEC Lcom/mojang/serialization/Codec; | ||
METHOD <init> (Ljava/lang/String;ILjava/lang/String;)V | ||
ARG 3 name | ||
METHOD method_30844 asText ()Lnet/minecraft/class_2561; |
4 changes: 4 additions & 0 deletions
4
mappings/net/minecraft/client/data/BlockModelDefinitionCreator.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_4917 net/minecraft/client/data/BlockModelDefinitionCreator | ||
COMMENT A supplier of a block state JSON definition. | ||
METHOD method_25743 getBlock ()Lnet/minecraft/class_2248; | ||
METHOD method_67844 createBlockModelDefinition ()Lnet/minecraft/class_790; |
157 changes: 157 additions & 0 deletions
157
mappings/net/minecraft/client/data/BlockStateModelGenerator.mapping
Large diffs are not rendered by default.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
mappings/net/minecraft/client/data/BlockStateSupplier.mapping
This file was deleted.
Oops, something went wrong.
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
9 changes: 8 additions & 1 deletion
9
.../data/MultipartBlockStateSupplier.mapping → ...tipartBlockModelDefinitionCreator.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,10 +1,17 @@ | ||
CLASS net/minecraft/class_4922 net/minecraft/client/data/MultipartBlockStateSupplier | ||
CLASS net/minecraft/class_4922 net/minecraft/client/data/MultipartBlockModelDefinitionCreator | ||
FIELD field_22855 block Lnet/minecraft/class_2248; | ||
FIELD field_22856 multiparts Ljava/util/List; | ||
METHOD <init> (Lnet/minecraft/class_2248;)V | ||
ARG 1 block | ||
METHOD method_25758 create (Lnet/minecraft/class_2248;)Lnet/minecraft/class_4922; | ||
ARG 0 block | ||
METHOD method_25761 with (Lnet/minecraft/class_815;Lnet/minecraft/class_807;)Lnet/minecraft/class_4922; | ||
ARG 1 condition | ||
ARG 2 part | ||
METHOD method_25762 with (Lnet/minecraft/class_10795;Lnet/minecraft/class_807;)Lnet/minecraft/class_4922; | ||
ARG 1 conditionBuilder | ||
ARG 2 part | ||
METHOD method_25764 with (Lnet/minecraft/class_807;)Lnet/minecraft/class_4922; | ||
ARG 1 part | ||
METHOD method_67851 validate (Lnet/minecraft/class_815;)V | ||
ARG 1 selector |
49 changes: 49 additions & 0 deletions
49
mappings/net/minecraft/client/data/VariantsBlockModelDefinitionCreator.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,49 @@ | ||
CLASS net/minecraft/class_4925 net/minecraft/client/data/VariantsBlockModelDefinitionCreator | ||
FIELD field_22859 block Lnet/minecraft/class_2248; | ||
FIELD field_22861 definedProperties Ljava/util/Set; | ||
FIELD field_56798 variants Ljava/util/List; | ||
METHOD <init> (Lnet/minecraft/class_2248;Ljava/util/List;Ljava/util/Set;)V | ||
ARG 1 block | ||
ARG 2 variants | ||
ARG 3 definedProperties | ||
METHOD method_25775 coordinate (Lnet/minecraft/class_4926;)Lnet/minecraft/class_4925; | ||
COMMENT Appends a block state variant map to this block state information. | ||
COMMENT | ||
COMMENT <p>A block state variant map defines some of the variant settings based | ||
COMMENT on a defined set of properties in the block state, such as the model | ||
COMMENT of the block state is determined by a coordinated map of power and | ||
COMMENT machine type property, and the y rotation determined by a facing | ||
COMMENT property, etc. | ||
COMMENT | ||
COMMENT @return this block state file | ||
ARG 1 variantMap | ||
METHOD method_67852 of (Lnet/minecraft/class_2248;)Lnet/minecraft/class_4925$class_10796; | ||
ARG 0 block | ||
METHOD method_67853 of (Lnet/minecraft/class_2248;Lnet/minecraft/class_807;)Lnet/minecraft/class_4925; | ||
ARG 0 block | ||
ARG 1 model | ||
METHOD method_67854 (Lnet/minecraft/class_2248;Ljava/util/Set;Lnet/minecraft/class_2769;)V | ||
ARG 2 property | ||
METHOD method_67855 (Lnet/minecraft/class_4926;Lnet/minecraft/class_4925$class_10797;)Ljava/util/stream/Stream; | ||
ARG 1 variant | ||
METHOD method_67856 apply (Lnet/minecraft/class_10804;)Lnet/minecraft/class_4925; | ||
ARG 1 operator | ||
METHOD method_67857 (Lnet/minecraft/class_10804;Lnet/minecraft/class_4925$class_10797;)Ljava/util/stream/Stream; | ||
ARG 1 variant | ||
METHOD method_67858 validateAndAddProperties (Ljava/util/Set;Lnet/minecraft/class_2248;Lnet/minecraft/class_4926;)Ljava/util/Set; | ||
ARG 0 definedProperties | ||
ARG 1 block | ||
ARG 2 variantMap | ||
CLASS class_10796 Empty | ||
FIELD field_56799 block Lnet/minecraft/class_2248; | ||
METHOD <init> (Lnet/minecraft/class_2248;)V | ||
ARG 1 block | ||
METHOD method_67859 with (Lnet/minecraft/class_4926;)Lnet/minecraft/class_4925; | ||
ARG 1 variantMap | ||
CLASS class_10797 Entry | ||
METHOD method_67861 apply (Lnet/minecraft/class_4926;)Ljava/util/stream/Stream; | ||
ARG 1 operatorMap | ||
METHOD method_67862 apply (Lnet/minecraft/class_10804;)Ljava/util/stream/Stream; | ||
ARG 1 operator | ||
METHOD method_67863 (Ljava/util/Map$Entry;)Lnet/minecraft/class_4925$class_10797; | ||
ARG 1 variant |
15 changes: 0 additions & 15 deletions
15
mappings/net/minecraft/client/data/VariantsBlockStateSupplier.mapping
This file was deleted.
Oops, something went wrong.
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
11 changes: 11 additions & 0 deletions
11
mappings/net/minecraft/client/render/model/BlockStateManagers.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,11 @@ | ||
CLASS net/minecraft/class_10811 net/minecraft/client/render/model/BlockStateManagers | ||
FIELD field_56981 ITEM_FRAME Lnet/minecraft/class_2689; | ||
FIELD field_56982 GLOW_ITEM_FRAME Lnet/minecraft/class_2689; | ||
FIELD field_56983 glowItemFrameId Lnet/minecraft/class_2960; | ||
FIELD field_56984 itemFrameId Lnet/minecraft/class_2960; | ||
FIELD field_56985 STATIC_MANAGERS Ljava/util/Map; | ||
METHOD method_68013 createIdToManagerMapper ()Ljava/util/function/Function; | ||
METHOD method_68014 getStateForItemFrame (ZZ)Lnet/minecraft/class_2680; | ||
ARG 0 hasGlow | ||
ARG 1 hasMap | ||
METHOD method_68015 createItemFrameStateManager ()Lnet/minecraft/class_2689; |
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
Oops, something went wrong.