Class SquidRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<SquidEntity,SquidModel<SquidEntity>>
-
- net.minecraft.client.renderer.entity.SquidRenderer
-
- All Implemented Interfaces:
IEntityRenderer<SquidEntity,SquidModel<SquidEntity>>
public class SquidRenderer extends MobRenderer<SquidEntity,SquidModel<SquidEntity>>
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation
SQUID_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 SquidRenderer(EntityRendererManager p_i47192_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected float
getBob(SquidEntity p_77044_1_, float p_77044_2_)
ResourceLocation
getTextureLocation(SquidEntity p_110775_1_)
protected void
setupRotations(SquidEntity p_225621_1_, MatrixStack p_225621_2_, float p_225621_3_, float p_225621_4_, float p_225621_5_)
-
Methods inherited from class net.minecraft.client.renderer.entity.MobRenderer
addVertexPair, render, renderSide, shouldRender, shouldShowName
-
Methods inherited from class net.minecraft.client.renderer.entity.LivingRenderer
addLayer, getAttackAnim, getFlipDegrees, getModel, getOverlayCoords, getRenderType, getWhiteOverlayProgress, isBodyVisible, isShaking, scale
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag
-
-
-
-
Field Detail
-
SQUID_LOCATION
private static final ResourceLocation SQUID_LOCATION
-
-
Constructor Detail
-
SquidRenderer
public SquidRenderer(EntityRendererManager p_i47192_1_)
-
-
Method Detail
-
getTextureLocation
public ResourceLocation getTextureLocation(SquidEntity p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<SquidEntity,SquidModel<SquidEntity>>
- Specified by:
getTextureLocation
in classEntityRenderer<SquidEntity>
-
setupRotations
protected void setupRotations(SquidEntity p_225621_1_, MatrixStack p_225621_2_, float p_225621_3_, float p_225621_4_, float p_225621_5_)
- Overrides:
setupRotations
in classLivingRenderer<SquidEntity,SquidModel<SquidEntity>>
-
getBob
protected float getBob(SquidEntity p_77044_1_, float p_77044_2_)
- Overrides:
getBob
in classLivingRenderer<SquidEntity,SquidModel<SquidEntity>>
-
-