Class BoatRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<BoatEntity>
-
- net.minecraft.client.renderer.entity.BoatRenderer
-
public class BoatRenderer extends EntityRenderer<BoatEntity>
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation[]
BOAT_TEXTURE_LOCATIONS
protected BoatModel
model
-
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, shadowRadius, shadowStrength
-
-
Constructor Summary
Constructors Constructor Description BoatRenderer(EntityRendererManager p_i46190_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getTextureLocation(BoatEntity p_110775_1_)
void
render(BoatEntity p_225623_1_, float p_225623_2_, float p_225623_3_, MatrixStack p_225623_4_, IRenderTypeBuffer p_225623_5_, int p_225623_6_)
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag, shouldRender, shouldShowName
-
-
-
-
Field Detail
-
BOAT_TEXTURE_LOCATIONS
private static final ResourceLocation[] BOAT_TEXTURE_LOCATIONS
-
model
protected final BoatModel model
-
-
Constructor Detail
-
BoatRenderer
public BoatRenderer(EntityRendererManager p_i46190_1_)
-
-
Method Detail
-
render
public void render(BoatEntity 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<BoatEntity>
-
getTextureLocation
public ResourceLocation getTextureLocation(BoatEntity p_110775_1_)
- Specified by:
getTextureLocation
in classEntityRenderer<BoatEntity>
-
-