Exemplo n.º 1
0
 private EntityLivingBase raytraceTarget() {
   MovingObjectPosition mop = PneumaticCraftUtils.getMouseOverServer(player, raytraceRange);
   return mop != null && mop.entityHit instanceof EntityLivingBase
       ? (EntityLivingBase) mop.entityHit
       : null;
 }