Class TurtleRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<TurtleEntity,TurtleModel<TurtleEntity>>
-
- net.minecraft.client.renderer.entity.TurtleRenderer
-
- All Implemented Interfaces:
IEntityRenderer<TurtleEntity,TurtleModel<TurtleEntity>>
public class TurtleRenderer extends MobRenderer<TurtleEntity,TurtleModel<TurtleEntity>>
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation
TURTLE_LOCATION
-
Fields inherited from class net.minecraft.client.renderer.entity.LivingRenderer
layers, model
-
Fields inherited from class net.minecraft.client.renderer.entity.EntityRenderer
entityRenderDispatcher, shadowRadius, shadowStrength
-
-
Constructor Summary
Constructors Constructor Description TurtleRenderer(EntityRendererManager p_i48827_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getTextureLocation(TurtleEntity p_110775_1_)
void
render(TurtleEntity 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.MobRenderer
addVertexPair, renderSide, shouldRender, shouldShowName
-
Methods inherited from class net.minecraft.client.renderer.entity.LivingRenderer
addLayer, getAttackAnim, getBob, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isShaking, scale, setupRotations
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag
-
-
-
-
Field Detail
-
TURTLE_LOCATION
private static final ResourceLocation TURTLE_LOCATION
-
-
Constructor Detail
-
TurtleRenderer
public TurtleRenderer(EntityRendererManager p_i48827_1_)
-
-
Method Detail
-
render
public void render(TurtleEntity 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 classMobRenderer<TurtleEntity,TurtleModel<TurtleEntity>>
-
getTextureLocation
public ResourceLocation getTextureLocation(TurtleEntity p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<TurtleEntity,TurtleModel<TurtleEntity>>
- Specified by:
getTextureLocation
in classEntityRenderer<TurtleEntity>
-
-