Class TntMinecartEntityRenderer
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<T>
net.minecraft.client.render.entity.MinecartEntityRenderer<TntMinecartEntity>
net.minecraft.client.render.entity.TntMinecartEntityRenderer
@Environment(CLIENT) public class TntMinecartEntityRenderer extends MinecartEntityRenderer<TntMinecartEntity>
- Mappings:
Namespace Name official eos
intermediary net/minecraft/class_957
named net/minecraft/client/render/entity/TntMinecartEntityRenderer
-
Field Summary
Fields inherited from class net.minecraft.client.render.entity.MinecartEntityRenderer
model
Fields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, shadowOpacity, shadowRadius
-
Constructor Summary
Constructors Constructor Description TntMinecartEntityRenderer(EntityRendererFactory.Context ctx)
-
Method Summary
Modifier and Type Method Description protected void
renderBlock(TntMinecartEntity tntMinecartEntity, float float2, BlockState blockState, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
static void
renderFlashingBlock(BlockState blockState, 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.Methods inherited from class net.minecraft.client.render.entity.MinecartEntityRenderer
getTexture, render
Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
getBlockLight, getFontRenderer, getLight, getPositionOffset, getSkyLight, hasLabel, renderLabelIfPresent, shouldRender
-
Constructor Details
-
TntMinecartEntityRenderer
- Mappings:
Namespace Name Mixin selector official <init>
Lemi;<init>(Lemj$a;)V
intermediary <init>
Lnet/minecraft/class_897;<init>(Lnet/minecraft/class_5617$class_5618;)V
named <init>
Lnet/minecraft/client/render/entity/EntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;)V
-
-
Method Details
-
renderBlock
protected void renderBlock(TntMinecartEntity tntMinecartEntity, float float2, BlockState blockState, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)- Overrides:
renderBlock
in classMinecartEntityRenderer<TntMinecartEntity>
- Mappings:
Namespace Name Mixin selector official a
Leos;a(Lbjk;FLcht;Ldlr;Lehq;I)V
intermediary method_4137
Lnet/minecraft/class_957;method_4137(Lnet/minecraft/class_1701;FLnet/minecraft/class_2680;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
named renderBlock
Lnet/minecraft/client/render/entity/TntMinecartEntityRenderer;renderBlock(Lnet/minecraft/entity/vehicle/TntMinecartEntity;FLnet/minecraft/block/BlockState;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
-
renderFlashingBlock
public static void renderFlashingBlock(BlockState blockState, 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 official a
Leos;a(Lcht;Ldlr;Lehq;IZ)V
intermediary method_23190
Lnet/minecraft/class_957;method_23190(Lnet/minecraft/class_2680;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;IZ)V
named renderFlashingBlock
Lnet/minecraft/client/render/entity/TntMinecartEntityRenderer;renderFlashingBlock(Lnet/minecraft/block/BlockState;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;IZ)V
-