@Environment(value=CLIENT) public class StriderEntityRenderer extends MobEntityRenderer<StriderEntity,StriderEntityModel<StriderEntity>>
Modifier and Type | Field and Description |
---|---|
private static Identifier |
COLD_TEXTURE |
private static Identifier |
TEXTURE |
features, model
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
StriderEntityRenderer(EntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
Identifier |
getTexture(StriderEntity striderEntity) |
protected boolean |
isShaking(StriderEntity striderEntity)
Returns if this entity is shaking in the way a zombie villager,
zombie, husk, or piglin undergoing conversion shakes.
|
protected void |
scale(StriderEntity striderEntity,
MatrixStack matrixStack,
float float2) |
hasLabel, method_23186, method_23187, render, shouldRender
addFeature, getAnimationCounter, getAnimationProgress, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isVisible, setupTransforms
getBlockLight, getFontRenderer, getLight, getPositionOffset, getRenderManager, method_27950, renderLabelIfPresent
private static final Identifier TEXTURE
private static final Identifier COLD_TEXTURE
public StriderEntityRenderer(EntityRenderDispatcher dispatcher)
public Identifier getTexture(StriderEntity striderEntity)
getTexture
in interface FeatureRendererContext<StriderEntity,StriderEntityModel<StriderEntity>>
getTexture
in class EntityRenderer<StriderEntity>
protected void scale(StriderEntity striderEntity, MatrixStack matrixStack, float float2)
scale
in class LivingEntityRenderer<StriderEntity,StriderEntityModel<StriderEntity>>
protected boolean isShaking(StriderEntity striderEntity)
LivingEntityRenderer
isShaking
in class LivingEntityRenderer<StriderEntity,StriderEntityModel<StriderEntity>>