Mappend rendering flashing TNT blocks (#1532)

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
This commit is contained in:
shartte 2020-07-02 12:52:31 +02:00 committed by GitHub
parent f62cba9cb0
commit 760883751e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View File

@ -2,5 +2,9 @@ CLASS net/minecraft/class_925 net/minecraft/client/render/entity/MinecartEntityR
FIELD field_4746 TEXTURE Lnet/minecraft/class_2960;
FIELD field_4747 model Lnet/minecraft/class_583;
METHOD method_4064 renderBlock (Lnet/minecraft/class_1688;FLnet/minecraft/class_2680;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
ARG 1 entity
ARG 2 delta
ARG 3 state
ARG 4 matrices
ARG 5 vertexConsumers
ARG 6 light

View File

@ -1 +1,10 @@
CLASS net/minecraft/class_957 net/minecraft/client/render/entity/TntMinecartEntityRenderer
METHOD method_23190 renderFlashingBlock (Lnet/minecraft/class_2680;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IZ)V
COMMENT Renders a given block state into the given buffers either normally or with a bright white overlay.
COMMENT Used for rendering primed TNT either standalone or as part of a TNT minecart.
ARG 0 blockState
ARG 1 matrices
ARG 2 vertexConsumers
ARG 3 light
ARG 4 drawFlash
COMMENT whether a white semi-transparent overlay is added to the block to indicate the flash