Class MinecartEntityRenderer<T extends AbstractMinecartEntity>
java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<T>
net.minecraft.client.render.entity.MinecartEntityRenderer<T>
- Direct Known Subclasses:
TntMinecartEntityRenderer
@Environment(CLIENT) public class MinecartEntityRenderer<T extends AbstractMinecartEntity> extends EntityRenderer<T>
- Mappings:
Namespace Name official enm
intermediary net/minecraft/class_925
named net/minecraft/client/render/entity/MinecartEntityRenderer
-
Field Summary
Fields Modifier and Type Field Description protected EntityModel<T>
model
private static Identifier
TEXTURE
Fields inherited from class net.minecraft.client.render.entity.EntityRenderer
dispatcher, shadowOpacity, shadowRadius
-
Constructor Summary
Constructors Constructor Description MinecartEntityRenderer(EntityRendererFactory.Context ctx, EntityModelLayer layer)
-
Method Summary
Modifier and Type Method Description Identifier
getTexture(T t)
void
render(T t, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
protected void
renderBlock(T entity, float delta, BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)
Methods inherited from class net.minecraft.client.render.entity.EntityRenderer
getBlockLight, getFontRenderer, getLight, getPositionOffset, getSkyLight, hasLabel, renderLabelIfPresent, shouldRender
-
Field Details
-
TEXTURE
- Mappings:
Namespace Name Mixin selector official e
Lenm;e:Lwb;
intermediary field_4746
Lnet/minecraft/class_925;field_4746:Lnet/minecraft/class_2960;
named TEXTURE
Lnet/minecraft/client/render/entity/MinecartEntityRenderer;TEXTURE:Lnet/minecraft/util/Identifier;
-
model
- Mappings:
Namespace Name Mixin selector official a
Lenm;a:Lear;
intermediary field_4747
Lnet/minecraft/class_925;field_4747:Lnet/minecraft/class_583;
named model
Lnet/minecraft/client/render/entity/MinecartEntityRenderer;model:Lnet/minecraft/client/render/entity/model/EntityModel;
-
-
Constructor Details
-
MinecartEntityRenderer
- Mappings:
Namespace Name Mixin selector official <init>
Lenm;<init>(Lemj$a;Ledf;)V
intermediary <init>
Lnet/minecraft/class_925;<init>(Lnet/minecraft/class_5617$class_5618;Lnet/minecraft/class_5601;)V
named <init>
Lnet/minecraft/client/render/entity/MinecartEntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;Lnet/minecraft/client/render/entity/model/EntityModelLayer;)V
-
-
Method Details
-
render
public void render(T t, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)- Overrides:
render
in classEntityRenderer<T extends AbstractMinecartEntity>
- Mappings:
Namespace Name Mixin selector official a
Lenm;a(Lbja;FFLdlr;Lehq;I)V
intermediary method_4063
Lnet/minecraft/class_925;method_4063(Lnet/minecraft/class_1688;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
named render
Lnet/minecraft/client/render/entity/MinecartEntityRenderer;render(Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
-
getTexture
- Specified by:
getTexture
in classEntityRenderer<T extends AbstractMinecartEntity>
- Mappings:
Namespace Name Mixin selector official a
Lenm;a(Lbja;)Lwb;
intermediary method_4065
Lnet/minecraft/class_925;method_4065(Lnet/minecraft/class_1688;)Lnet/minecraft/class_2960;
named getTexture
Lnet/minecraft/client/render/entity/MinecartEntityRenderer;getTexture(Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;)Lnet/minecraft/util/Identifier;
-
renderBlock
protected void renderBlock(T entity, float delta, BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)- Mappings:
Namespace Name Mixin selector official a
Lenm;a(Lbja;FLcht;Ldlr;Lehq;I)V
intermediary method_4064
Lnet/minecraft/class_925;method_4064(Lnet/minecraft/class_1688;FLnet/minecraft/class_2680;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
named renderBlock
Lnet/minecraft/client/render/entity/MinecartEntityRenderer;renderBlock(Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;FLnet/minecraft/block/BlockState;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
-