Some entity renderer and model mappings (#2566)

* Some entity renderer and model mappings

* More mappings

* Update mappings, add some parameters
This commit is contained in:
ByMartrixX 2021-07-12 23:05:29 -04:00 committed by GitHub
parent 734e53a18a
commit 552595f20f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 110 additions and 1 deletions

View File

@ -1,3 +1,15 @@
CLASS net/minecraft/class_902 net/minecraft/client/render/entity/ExperienceOrbEntityRenderer
FIELD field_21741 LAYER Lnet/minecraft/class_1921;
FIELD field_4701 TEXTURE Lnet/minecraft/class_2960;
METHOD method_23171 (Lnet/minecraft/class_4588;Lnet/minecraft/class_1159;Lnet/minecraft/class_4581;FFIIIFFI)V
ARG 0 vertexConsumer
ARG 1 modelMatrix
ARG 2 normalMatrix
ARG 3 x
ARG 4 y
ARG 5 red
ARG 6 green
ARG 7 blue
ARG 8 u
ARG 9 v
ARG 10 light

View File

@ -1,6 +1,7 @@
CLASS net/minecraft/class_953 net/minecraft/client/render/entity/FlyingItemEntityRenderer
FIELD field_17147 scale F
FIELD field_21745 lit Z
FIELD field_32943 MIN_DISTANCE F
FIELD field_4792 itemRenderer Lnet/minecraft/class_918;
METHOD <init> (Lnet/minecraft/class_5617$class_5618;FZ)V
ARG 1 ctx

View File

@ -6,6 +6,18 @@ CLASS net/minecraft/class_907 net/minecraft/client/render/entity/GuardianEntityR
ARG 1 ctx
ARG 2 shadowRadius
ARG 3 layer
METHOD method_23173 (Lnet/minecraft/class_4588;Lnet/minecraft/class_1159;Lnet/minecraft/class_4581;FFFIIIFF)V
ARG 0 vertexConsumer
ARG 1 modelMatrix
ARG 2 normalMatrix
ARG 3 x
ARG 4 y
ARG 5 z
ARG 6 red
ARG 7 green
ARG 8 blue
ARG 9 u
ARG 10 v
METHOD method_3979 fromLerpedPosition (Lnet/minecraft/class_1309;DF)Lnet/minecraft/class_243;
ARG 1 entity
ARG 2 yOffset

View File

@ -1,4 +1,8 @@
CLASS net/minecraft/class_916 net/minecraft/client/render/entity/ItemEntityRenderer
FIELD field_32925 MAX_COUNT_FOR_4_ITEMS_RENDERED I
FIELD field_32926 MAX_COUNT_FOR_3_ITEMS_RENDERED I
FIELD field_32927 MAX_COUNT_FOR_2_ITEMS_RENDERED I
FIELD field_32928 MAX_COUNT_FOR_1_ITEM_RENDERED I
FIELD field_4725 random Ljava/util/Random;
FIELD field_4726 itemRenderer Lnet/minecraft/class_918;
METHOD method_3998 getRenderedAmount (Lnet/minecraft/class_1799;)I

View File

@ -1,6 +1,7 @@
CLASS net/minecraft/class_915 net/minecraft/client/render/entity/ItemFrameEntityRenderer
FIELD field_28462 GLOW_FRAME Lnet/minecraft/class_1091;
FIELD field_28463 MAP_GLOW_FRAME Lnet/minecraft/class_1091;
FIELD field_32932 GLOW_FRAME_BLOCK_LIGHT I
FIELD field_4720 itemRenderer Lnet/minecraft/class_918;
FIELD field_4721 NORMAL_FRAME Lnet/minecraft/class_1091;
FIELD field_4723 MAP_FRAME Lnet/minecraft/class_1091;

View File

@ -2,6 +2,17 @@ CLASS net/minecraft/class_919 net/minecraft/client/render/entity/LightningEntity
METHOD method_23183 drawBranch (Lnet/minecraft/class_1159;Lnet/minecraft/class_4588;FFIFFFFFFFZZZZ)V
ARG 0 matrix
ARG 1 buffer
ARG 2 x1
ARG 3 z1
ARG 4 y
ARG 5 x2
ARG 6 z2
ARG 7 red
ARG 8 green
ARG 9 blue
ARG 10 offset2
ARG 11 offset1
ARG 12 shiftEast1
ARG 13 shiftSouth1
ARG 14 shiftEast2
ARG 15 shiftSouth2

View File

@ -1,5 +1,15 @@
CLASS net/minecraft/class_927 net/minecraft/client/render/entity/MobEntityRenderer
METHOD method_4073 (Lnet/minecraft/class_1308;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_1297;)V
FIELD field_32940 LEASH_PIECE_COUNT I
METHOD method_23187 renderLeashPiece (Lnet/minecraft/class_4588;Lnet/minecraft/class_1159;FFFIIIIFFFFIZ)V
ARG 0 vertexConsumer
ARG 1 modelMatrix
ARG 5 leashedEntityBlockLight
ARG 6 holdingEntityBlockLight
ARG 7 leashedEntitySkyLight
ARG 8 holdingEntitySkyLight
ARG 13 pieceIndex
ARG 14 isLeashKnot
METHOD method_4073 renderLeash (Lnet/minecraft/class_1308;FLnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_1297;)V
ARG 1 entity
ARG 2 tickDelta
ARG 3 matrices

View File

@ -1 +1,22 @@
CLASS net/minecraft/class_928 net/minecraft/client/render/entity/PaintingEntityRenderer
METHOD method_23188 (Lnet/minecraft/class_1159;Lnet/minecraft/class_4581;Lnet/minecraft/class_4588;FFFFFIIII)V
ARG 1 modelMatrix
ARG 2 normalMatrix
ARG 3 vertexConsumer
ARG 4 x
ARG 5 y
ARG 6 u
ARG 7 v
ARG 8 z
ARG 9 normalX
ARG 10 normalY
ARG 11 normalZ
ARG 12 light
METHOD method_4074 renderPainting (Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;Lnet/minecraft/class_1534;IILnet/minecraft/class_1058;Lnet/minecraft/class_1058;)V
ARG 1 matrices
ARG 2 vertexConsumer
ARG 3 entity
ARG 4 width
ARG 5 height
ARG 6 paintingSprite
ARG 7 backSprite

View File

@ -1 +1,14 @@
CLASS net/minecraft/class_876 net/minecraft/client/render/entity/ProjectileEntityRenderer
METHOD method_23153 (Lnet/minecraft/class_1159;Lnet/minecraft/class_4581;Lnet/minecraft/class_4588;IIIFFIIII)V
ARG 1 modelMatrix
ARG 2 normalMatrix
ARG 3 vertexConsumer
ARG 4 x
ARG 5 y
ARG 6 z
ARG 7 u
ARG 8 v
ARG 9 normalX
ARG 10 normalZ
ARG 11 normalY
ARG 12 light

View File

@ -1,3 +1,5 @@
CLASS net/minecraft/class_943 net/minecraft/client/render/entity/ShulkerEntityRenderer
FIELD field_4780 COLORED_TEXTURES [Lnet/minecraft/class_2960;
FIELD field_4781 TEXTURE Lnet/minecraft/class_2960;
METHOD method_37105 getTexture (Lnet/minecraft/class_1767;)Lnet/minecraft/class_2960;
ARG 0 shulkerColor

View File

@ -1 +1,10 @@
CLASS net/minecraft/class_991 net/minecraft/client/render/entity/feature/MooshroomMushroomFeatureRenderer
METHOD method_37314 renderMushroom (Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IZLnet/minecraft/class_776;Lnet/minecraft/class_2680;ILnet/minecraft/class_1087;)V
ARG 1 matrices
ARG 2 vertexConsumers
ARG 3 light
ARG 4 renderAsModel
ARG 5 blockRenderManager
ARG 6 mushroomState
ARG 7 overlay
ARG 8 mushroomModel

View File

@ -31,6 +31,9 @@ CLASS net/minecraft/class_572 net/minecraft/client/render/entity/model/BipedEnti
COMMENT </table>
COMMENT </div>
FIELD field_27433 leftArm Lnet/minecraft/class_630;
FIELD field_32503 SPYGLASS_ARM_YAW_OFFSET F
FIELD field_32504 SPYGLASS_ARM_PITCH_OFFSET F
FIELD field_32507 SPYGLASS_SNEAKING_ARM_PITCH_OFFSET F
FIELD field_3391 body Lnet/minecraft/class_630;
FIELD field_3392 rightLeg Lnet/minecraft/class_630;
FIELD field_3394 hat Lnet/minecraft/class_630;

View File

@ -9,6 +9,11 @@ CLASS net/minecraft/class_549 net/minecraft/client/render/entity/model/HorseEnti
FIELD field_27432 leftFrontBabyLeg Lnet/minecraft/class_630;
FIELD field_32486 HEAD_PARTS Ljava/lang/String;
COMMENT The key of the model part containing the head model parts, whose value is {@value}.
FIELD field_32487 EATING_GRASS_ANIMATION_HEAD_BASE_PITCH F
FIELD field_32488 ANGRY_ANIMATION_FRONT_LEG_PITCH_MULTIPLIER F
FIELD field_32489 ANGRY_ANIMATION_BODY_PITCH_MULTIPLIER F
FIELD field_32490 HEAD_TAIL_BASE_PITCH F
FIELD field_32491 ANGRY_ANIMATION_HIND_LEG_PITCH_MULTIPLIER F
FIELD field_32492 LEFT_HIND_BABY_LEG Ljava/lang/String;
COMMENT The key of the left hind baby leg model part, whose value is {@value}.
FIELD field_32493 RIGHT_HIND_BABY_LEG Ljava/lang/String;

View File

@ -54,10 +54,13 @@ CLASS net/minecraft/class_596 net/minecraft/client/render/entity/model/RabbitEnt
FIELD field_27486 head Lnet/minecraft/class_630;
FIELD field_27487 rightEar Lnet/minecraft/class_630;
FIELD field_27488 leftEar Lnet/minecraft/class_630;
FIELD field_32542 HAUNCH_JUMP_PITCH_MULTIPLIER F
FIELD field_32543 FRONT_LEGS_JUMP_PITCH_MULTIPLIER F
FIELD field_32544 LEFT_HAUNCH Ljava/lang/String;
COMMENT The key of the left haunch model part, whose value is {@value}.
FIELD field_32545 RIGHT_HAUNCH Ljava/lang/String;
COMMENT The key of the right haunch model part, whose value is {@value}.
FIELD field_32546 SCALE F
FIELD field_3524 tail Lnet/minecraft/class_630;
FIELD field_3528 body Lnet/minecraft/class_630;
FIELD field_3530 nose Lnet/minecraft/class_630;

View File

@ -41,6 +41,8 @@ CLASS net/minecraft/class_621 net/minecraft/client/render/entity/model/WitherEnt
COMMENT The key of the right head model part, whose value is {@value}.
FIELD field_32574 LEFT_HEAD Ljava/lang/String;
COMMENT The key of the left head model part, whose value is {@value}.
FIELD field_32575 RIBCAGE_PITCH_OFFSET F
FIELD field_32576 TAIL_PITCH_OFFSET F
METHOD <init> (Lnet/minecraft/class_630;)V
ARG 1 root
METHOD method_32066 rotateHead (Lnet/minecraft/class_1528;Lnet/minecraft/class_630;I)V