public class LayerEntityOnShoulder extends java.lang.Object implements LayerRenderer<EntityPlayer>
Modifier and Type | Class and Description |
---|---|
(package private) class |
LayerEntityOnShoulder.DataHolder |
Modifier and Type | Field and Description |
---|---|
private java.lang.Class<?> |
leftEntityClass |
private ModelBase |
leftModel |
protected RenderLivingBase<? extends EntityLivingBase> |
leftRenderer |
private ResourceLocation |
leftResource |
private java.util.UUID |
leftUniqueId |
private RenderManager |
renderManager |
private java.lang.Class<?> |
rightEntityClass |
private ModelBase |
rightModel |
protected RenderLivingBase<? extends EntityLivingBase> |
rightRenderer |
private ResourceLocation |
rightResource |
private java.util.UUID |
rightUniqueId |
Constructor and Description |
---|
LayerEntityOnShoulder(RenderManager p_i47370_1_) |
Modifier and Type | Method and Description |
---|---|
void |
doRenderLayer(EntityPlayer entitylivingbaseIn,
float limbSwing,
float limbSwingAmount,
float partialTicks,
float ageInTicks,
float netHeadYaw,
float headPitch,
float scale) |
private LayerEntityOnShoulder.DataHolder |
renderEntityOnShoulder(EntityPlayer p_192864_1_,
java.util.UUID p_192864_2_,
NBTTagCompound p_192864_3_,
RenderLivingBase<? extends EntityLivingBase> p_192864_4_,
ModelBase p_192864_5_,
ResourceLocation p_192864_6_,
java.lang.Class<?> p_192864_7_,
float p_192864_8_,
float p_192864_9_,
float p_192864_10_,
float p_192864_11_,
float p_192864_12_,
float p_192864_13_,
float p_192864_14_,
boolean p_192864_15_) |
boolean |
shouldCombineTextures() |
private final RenderManager renderManager
protected RenderLivingBase<? extends EntityLivingBase> leftRenderer
private ModelBase leftModel
private ResourceLocation leftResource
private java.util.UUID leftUniqueId
private java.lang.Class<?> leftEntityClass
protected RenderLivingBase<? extends EntityLivingBase> rightRenderer
private ModelBase rightModel
private ResourceLocation rightResource
private java.util.UUID rightUniqueId
private java.lang.Class<?> rightEntityClass
public LayerEntityOnShoulder(RenderManager p_i47370_1_)
public void doRenderLayer(EntityPlayer entitylivingbaseIn, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch, float scale)
doRenderLayer
in interface LayerRenderer<EntityPlayer>
private LayerEntityOnShoulder.DataHolder renderEntityOnShoulder(EntityPlayer p_192864_1_, @Nullable java.util.UUID p_192864_2_, NBTTagCompound p_192864_3_, RenderLivingBase<? extends EntityLivingBase> p_192864_4_, ModelBase p_192864_5_, ResourceLocation p_192864_6_, java.lang.Class<?> p_192864_7_, float p_192864_8_, float p_192864_9_, float p_192864_10_, float p_192864_11_, float p_192864_12_, float p_192864_13_, float p_192864_14_, boolean p_192864_15_)
public boolean shouldCombineTextures()
shouldCombineTextures
in interface LayerRenderer<EntityPlayer>