Class StriderRenderer
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<StriderEntity,StriderModel<StriderEntity>>
-
- net.minecraft.client.renderer.entity.StriderRenderer
-
- All Implemented Interfaces:
IEntityRenderer<StriderEntity,StriderModel<StriderEntity>>
public class StriderRenderer extends MobRenderer<StriderEntity,StriderModel<StriderEntity>>
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation
COLD_LOCATION
private static ResourceLocation
STRIDER_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 StriderRenderer(EntityRendererManager p_i232473_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getTextureLocation(StriderEntity p_110775_1_)
protected boolean
isShaking(StriderEntity p_230495_1_)
protected void
scale(StriderEntity p_225620_1_, MatrixStack p_225620_2_, float p_225620_3_)
-
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, setupRotations
-
Methods inherited from class net.minecraft.client.renderer.entity.EntityRenderer
getBlockLightLevel, getDispatcher, getFont, getPackedLightCoords, getRenderOffset, getSkyLightLevel, renderNameTag
-
-
-
-
Field Detail
-
STRIDER_LOCATION
private static final ResourceLocation STRIDER_LOCATION
-
COLD_LOCATION
private static final ResourceLocation COLD_LOCATION
-
-
Constructor Detail
-
StriderRenderer
public StriderRenderer(EntityRendererManager p_i232473_1_)
-
-
Method Detail
-
getTextureLocation
public ResourceLocation getTextureLocation(StriderEntity p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<StriderEntity,StriderModel<StriderEntity>>
- Specified by:
getTextureLocation
in classEntityRenderer<StriderEntity>
-
scale
protected void scale(StriderEntity p_225620_1_, MatrixStack p_225620_2_, float p_225620_3_)
- Overrides:
scale
in classLivingRenderer<StriderEntity,StriderModel<StriderEntity>>
-
isShaking
protected boolean isShaking(StriderEntity p_230495_1_)
- Overrides:
isShaking
in classLivingRenderer<StriderEntity,StriderModel<StriderEntity>>
-
-