Class MinecartRenderer<T extends AbstractMinecart>
java.lang.Object
net.minecraft.client.renderer.entity.EntityRenderer<T>
net.minecraft.client.renderer.entity.MinecartRenderer<T>
- Direct Known Subclasses:
TntMinecartRenderer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BlockRenderDispatcher
private static final ResourceLocation
protected final EntityModel
<T> Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, NAMETAG_SCALE, shadowRadius, shadowStrength
-
Constructor Summary
ConstructorDescriptionMinecartRenderer
(EntityRendererProvider.Context p_174300_, ModelLayerLocation p_174301_) -
Method Summary
Modifier and TypeMethodDescriptiongetTextureLocation
(T p_115416_) void
render
(T p_115418_, float p_115419_, float p_115420_, PoseStack p_115421_, MultiBufferSource p_115422_, int p_115423_) protected void
renderMinecartContents
(T p_115424_, float p_115425_, BlockState p_115426_, PoseStack p_115427_, MultiBufferSource p_115428_, int p_115429_) Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getFont, getPackedLightCoords, getRenderOffset, getShadowRadius, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
Field Details
-
MINECART_LOCATION
-
model
-
blockRenderer
-
-
Constructor Details
-
MinecartRenderer
-
-
Method Details
-
render
public void render(T p_115418_, float p_115419_, float p_115420_, PoseStack p_115421_, MultiBufferSource p_115422_, int p_115423_) - Overrides:
render
in classEntityRenderer<T extends AbstractMinecart>
-
getTextureLocation
- Specified by:
getTextureLocation
in classEntityRenderer<T extends AbstractMinecart>
-
renderMinecartContents
protected void renderMinecartContents(T p_115424_, float p_115425_, BlockState p_115426_, PoseStack p_115427_, MultiBufferSource p_115428_, int p_115429_)
-