Examples of func_145748_c_()


Examples of net.minecraft.entity.EntityLivingBase.func_145748_c_()

    EntityLivingBase other = living.func_94060_bK();
    String ssp = "death." + this.damageType;
    String smp = ssp + ".player";

    if (other != null) {
      return new ChatComponentTranslation(smp, living.func_145748_c_(), other.func_145748_c_());
    } else {
      return new ChatComponentTranslation(ssp, living.func_145748_c_());
    }
  }
View Full Code Here

Examples of net.minecraft.entity.EntityLivingBase.func_145748_c_()

            break;
        }
        EntityLivingBase entityliving1 = par1EntityLiving.func_94060_bK();
        String s = "death." + type + this.damageType;
        String s1 = s + ".player";
        return entityliving1 != null && StatCollector.canTranslate(s1) ? new ChatComponentTranslation(s1, new Object[] { par1EntityLiving.func_145748_c_(), entityliving1.func_145748_c_() }) : new ChatComponentTranslation(s, new Object[] { par1EntityLiving.func_145748_c_() });
    }
}
View Full Code Here

Examples of net.minecraft.entity.EntityLivingBase.func_145748_c_()

        messageMeta = messageNumber + "";

        EntityLivingBase entitylivingbase1 = par1EntityLivingBase.func_94060_bK();
        String s = "death.attack." + damageType + messageMeta;
        String s1 = s + ".player";
        return entitylivingbase1 != null && StatCollector.canTranslate(s1) ? new ChatComponentTranslation(s1, new Object[]{par1EntityLivingBase.func_145748_c_(), entitylivingbase1.func_145748_c_()}) : new ChatComponentTranslation(s, new Object[]{par1EntityLivingBase.func_145748_c_()});
    }
}
View Full Code Here

Examples of net.minecraft.entity.player.EntityPlayer.func_145748_c_()

                            double d3 = player.getDistanceSqToEntity(Minecraft.getMinecraft().thePlayer);
                            float f2 = player.isSneaking() ? RendererLivingEntity.NAME_TAG_RANGE_SNEAK : RendererLivingEntity.NAME_TAG_RANGE;

                            if(d3 < (double)(f2 * f2))
                            {
                                String s = player.func_145748_c_().getFormattedText();
                                rend.func_96449_a(player, event.x, event.y, event.z, s, f1, d3);
                            }
                        }
                    }
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.