Class SalmonRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<SalmonEntity,SalmonModel<SalmonEntity>>
-
- net.minecraft.client.renderer.entity.SalmonRenderer
-
- All Implemented Interfaces:
IEntityRenderer<SalmonEntity,SalmonModel<SalmonEntity>>
public class SalmonRenderer extends MobRenderer<SalmonEntity,SalmonModel<SalmonEntity>>
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation
SALMON_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 SalmonRenderer(EntityRendererManager p_i48862_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getTextureLocation(SalmonEntity p_110775_1_)
protected void
setupRotations(SalmonEntity 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, getBob, 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
-
SALMON_LOCATION
private static final ResourceLocation SALMON_LOCATION
-
-
Constructor Detail
-
SalmonRenderer
public SalmonRenderer(EntityRendererManager p_i48862_1_)
-
-
Method Detail
-
getTextureLocation
public ResourceLocation getTextureLocation(SalmonEntity p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<SalmonEntity,SalmonModel<SalmonEntity>>
- Specified by:
getTextureLocation
in classEntityRenderer<SalmonEntity>
-
setupRotations
protected void setupRotations(SalmonEntity p_225621_1_, MatrixStack p_225621_2_, float p_225621_3_, float p_225621_4_, float p_225621_5_)
- Overrides:
setupRotations
in classLivingRenderer<SalmonEntity,SalmonModel<SalmonEntity>>
-
-