public class BoatRenderer extends EntityRenderer<BoatEntity>
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation[] |
BOAT_TEXTURES |
protected BoatModel |
modelBoat |
renderManager, shadowOpaque, shadowSize
Constructor and Description |
---|
BoatRenderer(EntityRendererManager renderManagerIn) |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
getEntityTexture(BoatEntity entity) |
void |
render(BoatEntity entityIn,
float entityYaw,
float partialTicks,
MatrixStack matrixStackIn,
IRenderTypeBuffer bufferIn,
int packedLightIn) |
canRenderName, getBlockLight, getFontRendererFromRenderManager, getPackedLight, getRenderManager, getRenderOffset, renderName, shouldRender
private static final ResourceLocation[] BOAT_TEXTURES
protected final BoatModel modelBoat
public BoatRenderer(EntityRendererManager renderManagerIn)
public void render(BoatEntity entityIn, float entityYaw, float partialTicks, MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int packedLightIn)
render
in class EntityRenderer<BoatEntity>
public ResourceLocation getEntityTexture(BoatEntity entity)
getEntityTexture
in class EntityRenderer<BoatEntity>