Map some BE renderers (#1945)

* Map some be renderer stuff

* Remove mappings that conflict with #1944

* dont delete other mappings

* fix typos

* fix tab/space issues
This commit is contained in:
Tom_The_Geek 2021-01-03 20:53:25 +00:00 committed by GitHub
parent 98fbc1b636
commit 9a5273f484
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 69 additions and 1 deletions

View File

@ -13,4 +13,14 @@ CLASS net/minecraft/class_823 net/minecraft/client/render/block/entity/BannerBlo
ARG 5 baseSprite
ARG 6 isBanner
ARG 7 patterns
ARG 8 glint
METHOD method_29999 renderCanvas (Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IILnet/minecraft/class_630;Lnet/minecraft/class_4730;ZLjava/util/List;)V
ARG 0 matrices
ARG 1 vertexConsumers
ARG 2 light
ARG 3 overlay
ARG 4 canvas
ARG 5 baseSprite
ARG 6 isBanner
ARG 7 patterns
METHOD method_32135 getTexturedModelData ()Lnet/minecraft/class_5607;

View File

@ -1,9 +1,14 @@
CLASS net/minecraft/class_825 net/minecraft/client/render/block/entity/BedBlockEntityRenderer
FIELD field_27744 bedHead Lnet/minecraft/class_630;
FIELD field_27745 bedFoot Lnet/minecraft/class_630;
METHOD <init> (Lnet/minecraft/class_5614$class_5615;)V
ARG 1 ctx
METHOD method_32136 getHeadTexturedModelData ()Lnet/minecraft/class_5607;
METHOD method_32137 getFootTexturedModelData ()Lnet/minecraft/class_5607;
METHOD method_3558 (Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_630;Lnet/minecraft/class_2350;Lnet/minecraft/class_4730;IIZ)V
METHOD method_3558 renderPart (Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_630;Lnet/minecraft/class_2350;Lnet/minecraft/class_4730;IIZ)V
ARG 1 matrix
ARG 2 vertexConsumers
ARG 5 sprite
ARG 6 light
ARG 7 overlay
ARG 8 isFoot

View File

@ -1,5 +1,6 @@
CLASS net/minecraft/class_824 net/minecraft/client/render/block/entity/BlockEntityRenderDispatcher
FIELD field_20988 bufferBuilder Lnet/minecraft/class_287;
FIELD field_27746 entityModelLoader Lnet/minecraft/class_5599;
FIELD field_4342 textRenderer Lnet/minecraft/class_327;
FIELD field_4344 camera Lnet/minecraft/class_4184;
FIELD field_4345 renderers Ljava/util/Map;

View File

@ -1,4 +1,8 @@
CLASS net/minecraft/class_829 net/minecraft/client/render/block/entity/ConduitBlockEntityRenderer
FIELD field_20823 conduitEye Lnet/minecraft/class_630;
FIELD field_20824 conduitWind Lnet/minecraft/class_630;
FIELD field_20825 conduitShell Lnet/minecraft/class_630;
FIELD field_20826 conduit Lnet/minecraft/class_630;
FIELD field_27753 dispatcher Lnet/minecraft/class_824;
FIELD field_4371 WIND_VERTICAL_TEXTURE Lnet/minecraft/class_4730;
FIELD field_4373 WIND_TEXTURE Lnet/minecraft/class_4730;

View File

@ -1,7 +1,33 @@
CLASS net/minecraft/class_840 net/minecraft/client/render/block/entity/EndPortalBlockEntityRenderer
FIELD field_21732 PORTAL_RENDER_LAYERS Ljava/util/List;
FIELD field_27757 dispatcher Lnet/minecraft/class_824;
FIELD field_4405 RANDOM Ljava/util/Random;
FIELD field_4406 SKY_TEXTURE Lnet/minecraft/class_2960;
FIELD field_4407 PORTAL_TEXTURE Lnet/minecraft/class_2960;
METHOD <init> (Lnet/minecraft/class_5614$class_5615;)V
ARG 1 ctx
METHOD method_23084 renderSides (Lnet/minecraft/class_2640;FFLnet/minecraft/class_1159;Lnet/minecraft/class_4588;)V
ARG 1 entity
ARG 2 topYOffset
ARG 3 brightness
ARG 4 model
ARG 5 vertices
METHOD method_23085 renderSide (Lnet/minecraft/class_2640;Lnet/minecraft/class_1159;Lnet/minecraft/class_4588;FFFFFFFFFFFLnet/minecraft/class_2350;)V
ARG 1 entity
ARG 2 model
ARG 3 vertices
ARG 4 x1
ARG 5 x2
ARG 6 y1
ARG 7 y2
ARG 8 z1
ARG 9 z2
ARG 10 z3
ARG 11 z4
ARG 12 red
ARG 13 green
ARG 14 blue
METHOD method_3592 getDetailLevel (D)I
COMMENT Decides how many layers of texture to show on a portal block based on its distance from the camera.
ARG 1 distance
METHOD method_3594 getTopYOffset ()F

View File

@ -2,3 +2,10 @@ CLASS net/minecraft/class_835 net/minecraft/client/render/block/entity/PistonBlo
FIELD field_4389 manager Lnet/minecraft/class_776;
METHOD <init> (Lnet/minecraft/class_5614$class_5615;)V
ARG 1 ctx
METHOD method_3575 renderModel (Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;Lnet/minecraft/class_1937;ZI)V
ARG 1 pos
ARG 2 state
ARG 3 matrices
ARG 4 vertexConsumers
ARG 6 cull
ARG 7 overlay

View File

@ -1,8 +1,11 @@
CLASS net/minecraft/class_837 net/minecraft/client/render/block/entity/SignBlockEntityRenderer
FIELD field_27754 typeToModel Ljava/util/Map;
FIELD field_27755 textRenderer Lnet/minecraft/class_327;
METHOD <init> (Lnet/minecraft/class_5614$class_5615;)V
ARG 1 ctx
METHOD method_32154 getTexturedModelData ()Lnet/minecraft/class_5607;
METHOD method_32157 createSignModel (Lnet/minecraft/class_5599;Lnet/minecraft/class_4719;)Lnet/minecraft/class_837$class_4702;
ARG 1 type
CLASS class_4702 SignModel
FIELD field_21531 stick Lnet/minecraft/class_630;
FIELD field_27756 root Lnet/minecraft/class_630;

View File

@ -5,6 +5,13 @@ CLASS net/minecraft/class_836 net/minecraft/client/render/block/entity/SkullBloc
ARG 1 ctx
METHOD method_32160 getModels (Lnet/minecraft/class_5599;)Ljava/util/Map;
ARG 0 modelLoader
METHOD method_32161 renderSkull (Lnet/minecraft/class_2350;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_5598;Lnet/minecraft/class_1921;)V
ARG 1 yaw
ARG 2 animationProgress
ARG 3 matrices
ARG 4 vertexConsumers
ARG 5 light
ARG 6 model
METHOD method_3578 getRenderLayer (Lnet/minecraft/class_2484$class_2485;Lcom/mojang/authlib/GameProfile;)Lnet/minecraft/class_1921;
ARG 0 type
ARG 1 profile

View File

@ -1,3 +1,8 @@
CLASS net/minecraft/class_838 net/minecraft/client/render/block/entity/StructureBlockBlockEntityRenderer
METHOD <init> (Lnet/minecraft/class_5614$class_5615;)V
ARG 1 ctx
METHOD method_3585 renderInvisibleBlocks (Lnet/minecraft/class_2633;Lnet/minecraft/class_4588;Lnet/minecraft/class_2338;ZLnet/minecraft/class_4587;)V
ARG 1 entity
ARG 2 vertices
ARG 3 pos
ARG 5 matrices