public class LayerSaddle extends java.lang.Object implements LayerRenderer<EntityPig>
Modifier and Type | Field and Description |
---|---|
private ModelPig |
pigModel |
private RenderPig |
pigRenderer |
private static ResourceLocation |
TEXTURE |
Constructor and Description |
---|
LayerSaddle(RenderPig pigRendererIn) |
Modifier and Type | Method and Description |
---|---|
void |
doRenderLayer(EntityPig entitylivingbaseIn,
float limbSwing,
float limbSwingAmount,
float partialTicks,
float ageInTicks,
float netHeadYaw,
float headPitch,
float scale) |
boolean |
shouldCombineTextures() |
private static final ResourceLocation TEXTURE
private final RenderPig pigRenderer
private final ModelPig pigModel
public LayerSaddle(RenderPig pigRendererIn)
public void doRenderLayer(EntityPig entitylivingbaseIn, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch, float scale)
doRenderLayer
in interface LayerRenderer<EntityPig>
public boolean shouldCombineTextures()
shouldCombineTextures
in interface LayerRenderer<EntityPig>