Class MinecartRenderer<T extends AbstractMinecartEntity>
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 static final ResourceLocation
protected final EntityModel<T>
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, shadowRadius, shadowStrength
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetTextureLocation
(T p_110775_1_) void
render
(T p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_) protected void
renderMinecartContents
(T p_225630_1_, float p_225630_2_, BlockState p_225630_3_, MatrixStack p_225630_4_, IRenderTypeBuffer p_225630_5_, int p_225630_6_) Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
Field Details
-
MINECART_LOCATION
-
model
-
-
Constructor Details
-
MinecartRenderer
-
-
Method Details
-
render
public void render(T p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_) - Overrides:
render
in classEntityRenderer<T extends AbstractMinecartEntity>
-
getTextureLocation
- Specified by:
getTextureLocation
in classEntityRenderer<T extends AbstractMinecartEntity>
-
renderMinecartContents
protected void renderMinecartContents(T p_225630_1_, float p_225630_2_, BlockState p_225630_3_, MatrixStack p_225630_4_, IRenderTypeBuffer p_225630_5_, int p_225630_6_)
-