Class TntMinecartEntityRenderer
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<TntMinecartEntity,TntMinecartEntityRenderState>
net.minecraft.client.render.entity.AbstractMinecartEntityRenderer<TntMinecartEntity,TntMinecartEntityRenderState>
net.minecraft.client.render.entity.TntMinecartEntityRenderer
@Environment(CLIENT)
public class TntMinecartEntityRenderer
extends AbstractMinecartEntityRenderer<TntMinecartEntity,TntMinecartEntityRenderState>
- Mappings:
Namespace Name named net/minecraft/client/render/entity/TntMinecartEntityRenderer
intermediary net/minecraft/class_957
official guf
-
Field Summary
Fields inherited from class net.minecraft.client.render.entity.AbstractMinecartEntityRenderer
model
Fields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, field_32921, field_52257, shadowOpacity, shadowRadius
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
renderBlock
(TntMinecartEntityRenderState tntMinecartEntityRenderState, BlockState blockState, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) static void
renderFlashingBlock
(BlockRenderManager blockRenderManager, BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, boolean drawFlash) Renders a given block state into the given buffers either normally or with a bright white overlay.void
updateRenderState
(TntMinecartEntity tntMinecartEntity, TntMinecartEntityRenderState tntMinecartEntityRenderState, float float2) Methods inherited from class net.minecraft.client.render.entity.AbstractMinecartEntityRenderer
getBoundingBox, getPositionOffset, render
Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
canBeCulled, getAndUpdateRenderState, getBlockLight, getDisplayName, getLight, getShadowRadius, getSkyLight, getTextRenderer, hasLabel, renderLabelIfPresent, shouldRender
-
Field Details
-
tntBlockRenderManager
- Mappings:
Namespace Name Mixin selector named tntBlockRenderManager
Lnet/minecraft/client/render/entity/TntMinecartEntityRenderer;tntBlockRenderManager:Lnet/minecraft/client/render/block/BlockRenderManager;
intermediary field_38893
Lnet/minecraft/class_957;field_38893:Lnet/minecraft/class_776;
official b
Lguf;b:Lgmn;
-
-
Constructor Details
-
TntMinecartEntityRenderer
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/entity/EntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;)V
intermediary <init>
Lnet/minecraft/class_897;<init>(Lnet/minecraft/class_5617$class_5618;)V
official <init>
Lgro;<init>(Lgrp$a;)V
-
-
Method Details
-
renderBlock
protected void renderBlock(TntMinecartEntityRenderState tntMinecartEntityRenderState, BlockState blockState, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2) - Overrides:
renderBlock
in classAbstractMinecartEntityRenderer<TntMinecartEntity,
TntMinecartEntityRenderState> - Mappings:
Namespace Name Mixin selector named renderBlock
Lnet/minecraft/client/render/entity/TntMinecartEntityRenderer;renderBlock(Lnet/minecraft/client/render/entity/state/TntMinecartEntityRenderState;Lnet/minecraft/block/BlockState;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
intermediary method_4137
Lnet/minecraft/class_957;method_4137(Lnet/minecraft/class_10046;Lnet/minecraft/class_2680;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
official a
Lguf;a(Lgyw;Ldxu;Lfgr;Lglk;I)V
-
renderFlashingBlock
public static void renderFlashingBlock(BlockRenderManager blockRenderManager, BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, boolean drawFlash) Renders a given block state into the given buffers either normally or with a bright white overlay. Used for rendering primed TNT either standalone or as part of a TNT minecart.- Parameters:
drawFlash
- whether a white semi-transparent overlay is added to the block to indicate the flash- Mappings:
Namespace Name Mixin selector named renderFlashingBlock
Lnet/minecraft/client/render/entity/TntMinecartEntityRenderer;renderFlashingBlock(Lnet/minecraft/client/render/block/BlockRenderManager;Lnet/minecraft/block/BlockState;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IZ)V
intermediary method_23190
Lnet/minecraft/class_957;method_23190(Lnet/minecraft/class_776;Lnet/minecraft/class_2680;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IZ)V
official a
Lguf;a(Lgmn;Ldxu;Lfgr;Lglk;IZ)V
-
createRenderState
- Specified by:
createRenderState
in classEntityRenderer<TntMinecartEntity,
TntMinecartEntityRenderState> - Mappings:
Namespace Name Mixin selector named createRenderState
Lnet/minecraft/client/render/entity/TntMinecartEntityRenderer;createRenderState()Lnet/minecraft/client/render/entity/state/TntMinecartEntityRenderState;
intermediary method_62555
Lnet/minecraft/class_957;method_62555()Lnet/minecraft/class_10046;
official a
Lguf;a()Lgyw;
-
updateRenderState
public void updateRenderState(TntMinecartEntity tntMinecartEntity, TntMinecartEntityRenderState tntMinecartEntityRenderState, float float2) - Overrides:
updateRenderState
in classAbstractMinecartEntityRenderer<TntMinecartEntity,
TntMinecartEntityRenderState> - Mappings:
Namespace Name Mixin selector named updateRenderState
Lnet/minecraft/client/render/entity/TntMinecartEntityRenderer;updateRenderState(Lnet/minecraft/entity/vehicle/TntMinecartEntity;Lnet/minecraft/client/render/entity/state/TntMinecartEntityRenderState;F)V
intermediary method_62556
Lnet/minecraft/class_957;method_62556(Lnet/minecraft/class_1701;Lnet/minecraft/class_10046;F)V
official a
Lguf;a(Lcsj;Lgyw;F)V
-