Class SpiderRenderer<T extends SpiderEntity>
- java.lang.Object
-
- net.minecraft.client.renderer.entity.EntityRenderer<T>
-
- net.minecraft.client.renderer.entity.LivingRenderer<T,M>
-
- net.minecraft.client.renderer.entity.MobRenderer<T,SpiderModel<T>>
-
- net.minecraft.client.renderer.entity.SpiderRenderer<T>
-
- All Implemented Interfaces:
IEntityRenderer<T,SpiderModel<T>>
- Direct Known Subclasses:
CaveSpiderRenderer
public class SpiderRenderer<T extends SpiderEntity> extends MobRenderer<T,SpiderModel<T>>
-
-
Field Summary
Fields Modifier and Type Field Description private static ResourceLocation
SPIDER_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 SpiderRenderer(EntityRendererManager p_i46139_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected float
getFlipDegrees(T p_77037_1_)
ResourceLocation
getTextureLocation(T p_110775_1_)
-
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, 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
-
SPIDER_LOCATION
private static final ResourceLocation SPIDER_LOCATION
-
-
Constructor Detail
-
SpiderRenderer
public SpiderRenderer(EntityRendererManager p_i46139_1_)
-
-
Method Detail
-
getFlipDegrees
protected float getFlipDegrees(T p_77037_1_)
- Overrides:
getFlipDegrees
in classLivingRenderer<T extends SpiderEntity,SpiderModel<T extends SpiderEntity>>
-
getTextureLocation
public ResourceLocation getTextureLocation(T p_110775_1_)
- Specified by:
getTextureLocation
in interfaceIEntityRenderer<T extends SpiderEntity,SpiderModel<T extends SpiderEntity>>
- Specified by:
getTextureLocation
in classEntityRenderer<T extends SpiderEntity>
-
-