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