-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More 25w07a stuff, fixing TextureType and GeometryBakedModel pathing (#…
…4124) * More 25w07a stuff, fixing TextureType and GeometryBakedModel pathing * revert a change as requested * Update MultipartUnbakedModel.mapping * Update ModelElementFace.mapping * Update ModelVariants.mapping * Update ModelElementFace.mapping * make into `getters` as per Pepper in Discord.
- Loading branch information
1 parent
4edbbbb
commit 2438999
Showing
26 changed files
with
116 additions
and
15 deletions.
There are no files selected for viewing
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
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,5 +1,14 @@ | ||
CLASS net/minecraft/class_308 net/minecraft/client/render/DiffuseLighting | ||
FIELD field_24426 DEFAULT_DIFFUSION_LIGHT_0 Lorg/joml/Vector3f; | ||
FIELD field_24427 DEFAULT_DIFFUSION_LIGHT_1 Lorg/joml/Vector3f; | ||
FIELD field_24428 WORLD_DIFFUSION_LIGHT_0 Lorg/joml/Vector3f; | ||
FIELD field_24429 WORLD_DIFFUSION_LIGHT_1 Lorg/joml/Vector3f; | ||
FIELD field_29567 INVENTORY_DIFFUSION_LIGHT_0 Lorg/joml/Vector3f; | ||
FIELD field_29568 INVENTORY_DIFFUSION_LIGHT_1 Lorg/joml/Vector3f; | ||
METHOD method_1452 enableForLevel ()V | ||
METHOD method_24210 disableGuiDepthLighting ()V | ||
METHOD method_24211 enableGuiDepthLighting ()V | ||
METHOD method_27869 disableForLevel ()V | ||
METHOD method_34742 enableGuiShaderLighting ()V | ||
METHOD method_56819 rotateGuiShaderLighting (Lorg/joml/Quaternionf;)V | ||
ARG 0 rotation |
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: 1 addition & 1 deletion
2
...t/client/model/GeometryBakedModel.mapping → ...t/render/model/GeometryBakedModel.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
10 changes: 10 additions & 0 deletions
10
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
CLASS net/minecraft/class_1086 net/minecraft/client/render/model/ModelRotation | ||
FIELD field_23373 rotation Lnet/minecraft/class_4590; | ||
FIELD field_23374 directionTransformation Lnet/minecraft/class_4990; | ||
FIELD field_56975 ROTATION_MAP [[Lnet/minecraft/class_1086; | ||
FIELD field_56976 xRotation Lnet/minecraft/class_10821; | ||
FIELD field_56977 yRotation Lnet/minecraft/class_10821; | ||
FIELD field_56978 faces Ljava/util/Map; | ||
FIELD field_56979 invertedFaces Ljava/util/Map; | ||
FIELD field_56980 uvModel Lnet/minecraft/class_1086$class_10810; | ||
METHOD <init> (Ljava/lang/String;ILnet/minecraft/class_10821;Lnet/minecraft/class_10821;)V | ||
ARG 3 x | ||
ARG 4 y | ||
METHOD method_35808 getDirectionTransformation ()Lnet/minecraft/class_4990; | ||
METHOD method_68008 rotate (Lnet/minecraft/class_10821;Lnet/minecraft/class_10821;)Lnet/minecraft/class_1086; | ||
METHOD method_68010 getUVLock ()Lnet/minecraft/class_3665; | ||
CLASS class_10810 UVModel |
2 changes: 2 additions & 0 deletions
2
mappings/net/minecraft/client/render/model/MultipartBakedModel.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
11 changes: 10 additions & 1 deletion
11
mappings/net/minecraft/client/render/model/UnbakedGeometry.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,3 +1,12 @@ | ||
CLASS net/minecraft/class_10802 net/minecraft/client/render/model/UnbakedGeometry | ||
METHOD method_67932 (Lnet/minecraft/class_785;Lnet/minecraft/class_783;Lnet/minecraft/class_1058;Lnet/minecraft/class_2350;Lnet/minecraft/class_3665;)Lnet/minecraft/class_777; | ||
METHOD method_67932 bakeQuad (Lnet/minecraft/class_785;Lnet/minecraft/class_783;Lnet/minecraft/class_1058;Lnet/minecraft/class_2350;Lnet/minecraft/class_3665;)Lnet/minecraft/class_777; | ||
ARG 0 element | ||
ARG 1 face | ||
ARG 2 sprite | ||
ARG 3 facing | ||
ARG 4 settings | ||
METHOD method_67934 bakeGeometry (Ljava/util/List;Lnet/minecraft/class_10419;Lnet/minecraft/class_9826;Lnet/minecraft/class_3665;Lnet/minecraft/class_10813;)Lnet/minecraft/class_10817; | ||
ARG 0 elements | ||
ARG 1 textures | ||
ARG 3 settings | ||
ARG 4 model |
8 changes: 5 additions & 3 deletions
8
mappings/net/minecraft/client/render/model/UnbakedModel.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
2 changes: 2 additions & 0 deletions
2
mappings/net/minecraft/client/render/model/WeightedBakedModel.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,2 +1,4 @@ | ||
CLASS net/minecraft/class_1097 net/minecraft/client/render/model/WeightedBakedModel | ||
FIELD field_5434 models Lnet/minecraft/class_6012; | ||
FIELD field_57027 useAmbientOcclusion Z | ||
FIELD field_57028 particleSprite Lnet/minecraft/class_1058; |
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
3 changes: 3 additions & 0 deletions
3
mappings/net/minecraft/client/render/model/json/MultipartModelComponent.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,7 +1,10 @@ | ||
CLASS net/minecraft/class_819 net/minecraft/client/render/model/json/MultipartModelComponent | ||
FIELD comp_3764 selector Ljava/util/Optional; | ||
FIELD comp_3765 model Lnet/minecraft/class_807; | ||
FIELD field_56952 CODEC Lcom/mojang/serialization/Codec; | ||
METHOD <init> (Ljava/util/Optional;Lnet/minecraft/class_807;)V | ||
ARG 2 model | ||
METHOD comp_3764 selector ()Ljava/util/Optional; | ||
METHOD comp_3765 model ()Lnet/minecraft/class_807; | ||
METHOD method_67981 init (Lnet/minecraft/class_2689;)Ljava/util/function/Predicate; | ||
ARG 1 value |
4 changes: 4 additions & 0 deletions
4
mappings/net/minecraft/client/render/model/json/MultipartModelSelector.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,2 +1,6 @@ | ||
CLASS net/minecraft/class_815 net/minecraft/client/render/model/json/MultipartModelSelector | ||
FIELD field_56942 CODEC Lcom/mojang/serialization/Codec; | ||
METHOD instantiate instantiate (Lnet/minecraft/class_2689;)Ljava/util/function/Predicate; | ||
ARG 1 value | ||
METHOD method_67954 (Lcom/mojang/serialization/Codec;)Lcom/mojang/serialization/Codec; | ||
ARG 0 group |
6 changes: 6 additions & 0 deletions
6
mappings/net/minecraft/client/render/model/json/WeightedUnbakedModel.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,7 +1,13 @@ | ||
CLASS net/minecraft/class_807 net/minecraft/client/render/model/json/WeightedUnbakedModel | ||
FIELD comp_3049 variants Ljava/util/List; | ||
FIELD field_56932 CODEC Lcom/mojang/serialization/Codec; | ||
METHOD comp_3049 variants ()Ljava/util/List; | ||
METHOD equals (Ljava/lang/Object;)Z | ||
ARG 1 o | ||
METHOD method_62333 (Lnet/minecraft/class_10526$class_10103;Lnet/minecraft/class_813;)V | ||
ARG 1 variant | ||
METHOD method_67929 put (Lnet/minecraft/class_10804;)Lnet/minecraft/class_807; | ||
ARG 1 variants | ||
METHOD method_67930 bake (Lnet/minecraft/class_7775;Lnet/minecraft/class_813;)Lnet/minecraft/class_1087; | ||
ARG 0 baker | ||
ARG 1 variant |
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_10793 net/minecraft/client/texture/TextureType | ||
FIELD field_56776 glId I | ||
FIELD field_56777 formatId I | ||
FIELD field_56778 glType I | ||
METHOD <init> (Ljava/lang/String;IIII)V | ||
ARG 3 glId | ||
ARG 4 formatId | ||
ARG 5 glType | ||
METHOD method_67791 glId ()I | ||
METHOD method_67792 formatId ()I | ||
METHOD method_67793 glType ()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