@Environment(value=CLIENT) public class WanderingTraderEntityRenderer extends MobEntityRenderer<WanderingTraderEntity,VillagerResemblingModel<WanderingTraderEntity>>
Modifier and Type | Field and Description |
---|---|
private static Identifier |
TEXTURE |
features, model
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
WanderingTraderEntityRenderer(EntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
Identifier |
getTexture(WanderingTraderEntity wanderingTraderEntity) |
protected void |
scale(WanderingTraderEntity wanderingTraderEntity,
MatrixStack matrixStack,
float float2) |
hasLabel, method_23186, method_23187, render, shouldRender
addFeature, getAnimationCounter, getAnimationProgress, getHandSwingProgress, getLyingAngle, getModel, getOverlay, getRenderLayer, isShaking, isVisible, setupTransforms
getBlockLight, getFontRenderer, getLight, getPositionOffset, getRenderManager, method_27950, renderLabelIfPresent
private static final Identifier TEXTURE
public WanderingTraderEntityRenderer(EntityRenderDispatcher dispatcher)
public Identifier getTexture(WanderingTraderEntity wanderingTraderEntity)
getTexture
in interface FeatureRendererContext<WanderingTraderEntity,VillagerResemblingModel<WanderingTraderEntity>>
getTexture
in class EntityRenderer<WanderingTraderEntity>
protected void scale(WanderingTraderEntity wanderingTraderEntity, MatrixStack matrixStack, float float2)
scale
in class LivingEntityRenderer<WanderingTraderEntity,VillagerResemblingModel<WanderingTraderEntity>>