コード例 #1
0
 @Override
 public FontRenderer getFontRendererFromRenderManager() {
   return (FontRenderer)
       (master != null
           ? master.getFontRendererFromRenderManager()
           : super.getFontRendererFromRenderManager());
 }
コード例 #2
0
 @Override
 public void renderModel(
     EntityLivingBase entityLivingBase,
     float limbSwing,
     float limbSwingAmount,
     float ageInTicks,
     float netHeadYaw,
     float headPitch,
     float scaleFactor) {
   if (master != null)
     master.renderModel(
         entityLivingBase,
         limbSwing,
         limbSwingAmount,
         ageInTicks,
         netHeadYaw,
         headPitch,
         scaleFactor);
   else
     super.renderModel(
         entityLivingBase,
         limbSwing,
         limbSwingAmount,
         ageInTicks,
         netHeadYaw,
         headPitch,
         scaleFactor);
 }
コード例 #3
0
 @Override
 public int inheritRenderPass(
     EntityLivingBase entityLivingBase, int p_77035_2_, float p_77035_3_) {
   return master != null
       ? master.inheritRenderPass(entityLivingBase, p_77035_2_, p_77035_3_)
       : super.inheritRenderPass(entityLivingBase, p_77035_2_, p_77035_3_);
 }
コード例 #4
0
 @Override
 public int getColorMultiplier(
     EntityLivingBase entityLivingBase, float lightBrightness, float partialTickTime) {
   return master != null
       ? master.getColorMultiplier(entityLivingBase, lightBrightness, partialTickTime)
       : super.getColorMultiplier(entityLivingBase, lightBrightness, partialTickTime);
 }
コード例 #5
0
 // ~180
 @Override
 public void passSpecialRender(
     EntityLivingBase entityLivingBase, double p_77033_2_, double p_77033_4_, double p_77033_6_) {
   if (master != null)
     master.passSpecialRender(entityLivingBase, p_77033_2_, p_77033_4_, p_77033_6_);
   else super.passSpecialRender(entityLivingBase, p_77033_2_, p_77033_4_, p_77033_6_);
 }
コード例 #6
0
 @Override
 public void func_96449_a(
     EntityLivingBase entityLivingBase,
     double p_96449_2_,
     double p_96449_4_,
     double p_96449_6_,
     String p_96449_8_,
     float p_96449_9_,
     double p_96449_10_) {
   if (master != null)
     master.func_96449_a(
         entityLivingBase,
         p_96449_2_,
         p_96449_4_,
         p_96449_6_,
         p_96449_8_,
         p_96449_9_,
         p_96449_10_);
   else
     super.func_96449_a(
         entityLivingBase,
         p_96449_2_,
         p_96449_4_,
         p_96449_6_,
         p_96449_8_,
         p_96449_9_,
         p_96449_10_);
 }
コード例 #7
0
 public void doRender(
     EntityLiving entityLiving,
     double x,
     double y,
     double z,
     float entityYaw,
     float partialTicks) {
   if (master != null) master.doRender(entityLiving, x, y, z, entityYaw, partialTicks);
   else super.doRender(entityLiving, x, y, z, entityYaw, partialTicks);
 }
コード例 #8
0
 @Override
 protected void func_110827_b(
     EntityLiving entityLiving,
     double x,
     double y,
     double z,
     float entityYaw,
     float partialTicks) {
   if (master != null) master.renderLeash(entityLiving, x, y, z, entityYaw, partialTicks);
   else super.func_110827_b(entityLiving, x, y, z, entityYaw, partialTicks);
 }
コード例 #9
0
 // 164~
 @Override
 protected void renderLivingLabel(
     EntityLivingBase entityLivingBase,
     String str,
     double x,
     double y,
     double z,
     int maxDistance) {
   if (master != null) master.renderLivingLabel(entityLivingBase, str, x, y, z, maxDistance);
   else super.renderLivingLabel(entityLivingBase, str, x, y, z, maxDistance);
 }
コード例 #10
0
 @Override
 public float getDeathMaxRotation(EntityLivingBase entityLivingBase) {
   return master != null
       ? master.getDeathMaxRotation(entityLivingBase)
       : super.getDeathMaxRotation(entityLivingBase);
 }
コード例 #11
0
 @Override
 public void doRenderShadowAndFire(
     Entity entity, double x, double y, double z, float yaw, float partialTicks) {
   if (master != null) master.doRenderShadowAndFire(entity, x, y, z, yaw, partialTicks);
   else super.doRenderShadowAndFire(entity, x, y, z, yaw, partialTicks);
 }
コード例 #12
0
 // 162~
 @Override
 public void bindEntityTexture(Entity entity) {
   if (master != null) master.bindEntityTexture(entity);
   else super.bindEntityTexture(entity);
 }
コード例 #13
0
 // 180~
 public ModelBase getMainModel() {
   return (ModelBase) (master != null ? master.getMainModel() : mainModel);
 }
コード例 #14
0
 @Override
 public void doRenderLiving(
     EntityLiving entityLiving, double par2, double par4, double par6, float par8, float par9) {
   if (master != null) master.doRenderLiving(entityLiving, par2, par4, par6, par8, par9);
   else super.doRenderLiving(entityLiving, par2, par4, par6, par8, par9);
 }
コード例 #15
0
 public int setArmorModel(Object model, Object entityplayer, int i, float f, int i2) {
   return master != null ? master.setArmorModel(model, entityplayer, i, f, i2) : -1;
 }
コード例 #16
0
 @Override
 protected boolean func_110813_b(EntityLivingBase entityLivingBase) {
   return master != null
       ? master.canRenderName(entityLivingBase)
       : super.func_110813_b(entityLivingBase);
 }
コード例 #17
0
 @Override
 public void preRenderCallback(EntityLivingBase entityLivingBase, float partialTickTime) {
   if (master != null) master.preRenderCallback(entityLivingBase, partialTickTime);
   else super.preRenderCallback(entityLivingBase, partialTickTime);
 }
コード例 #18
0
 @Override
 public int shouldRenderPass(EntityLivingBase entityLivingBase, int p_77032_2_, float p_77032_3_) {
   return master != null
       ? master.shouldRenderPass(entityLivingBase, p_77032_2_, p_77032_3_)
       : super.shouldRenderPass(entityLivingBase, p_77032_2_, p_77032_3_);
 }
コード例 #19
0
 @Override
 public void func_82408_c(EntityLivingBase entityLivingBase, int p_82408_2_, float p_82408_3_) {
   if (master != null) master.func_82408_c(entityLivingBase, p_82408_2_, p_82408_3_);
   else super.func_82408_c(entityLivingBase, p_82408_2_, p_82408_3_);
 }
コード例 #20
0
 @Override
 public int setArmorModel(Object entity, int i, float f) {
   return master != null ? master.setArmorModel(entity, i, f) : -1;
 }
コード例 #21
0
 // ~172
 @Override
 public void setRenderManager(RenderManager renderManager) {
   if (master != null) master.setRenderManager(renderManager);
   else super.setRenderManager(renderManager);
 }
コード例 #22
0
 public void updateIcons(IconRegister iIconRegister) {
   if (master != null) master.updateIcons(iIconRegister);
   else super.updateIcons(iIconRegister);
 }
コード例 #23
0
 @Override
 public boolean func_130007_b(EntityLiving entityLiving) {
   return master != null ? master.func_130007_b(entityLiving) : super.func_130007_b(entityLiving);
 }
コード例 #24
0
 @Override
 public void setRenderPassModel(ModelBase modelBase) {
   if (master != null) master.setRenderPassModel(modelBase);
   else super.setRenderPassModel(modelBase);
 }
コード例 #25
0
 @Override
 public ResourceLocation getEntityTexture(Entity entity) {
   return (ResourceLocation) (master != null ? master.getEntityTexture(entity) : null);
 }
コード例 #26
0
 @Override
 public float renderSwingProgress(EntityLivingBase entityLivingBase, float partialTickTime) {
   return master != null
       ? master.getSwingProgress(entityLivingBase, partialTickTime)
       : super.renderSwingProgress(entityLivingBase, partialTickTime);
 }
コード例 #27
0
 @Override
 public void bindTexture(ResourceLocation resourceLocation) {
   if (master != null) master.bindTexture(resourceLocation);
   else super.bindTexture(resourceLocation);
 }
コード例 #28
0
 @Override
 public void renderArrowsStuckInEntity(EntityLivingBase entityLivingBase, float p_85093_2_) {
   if (master != null) master.renderArrowsStuckInEntity(entityLivingBase, p_85093_2_);
   else super.renderArrowsStuckInEntity(entityLivingBase, p_85093_2_);
 }
コード例 #29
0
 @Override
 public void renderEquippedItems(EntityLivingBase entityLivingBase, float p_77029_2_) {
   if (master != null) master.renderEquippedItems(entityLivingBase, p_77029_2_);
   else super.renderEquippedItems(entityLivingBase, p_77029_2_);
 }
コード例 #30
0
 @Override
 public float handleRotationFloat(EntityLivingBase entityLivingBase, float partialTicks) {
   return master != null
       ? master.handleRotationFloat(entityLivingBase, partialTicks)
       : super.handleRotationFloat(entityLivingBase, partialTicks);
 }